blob: 65a76078677e2bc271c391683a87ee4b002db773 [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package testing
import (
"regexp"
"chromiumos/tast/internal/testing"
)
// NewTestGlobRegexp returns a compiled regular expression corresponding to g,
// a glob for matching test names.
//
// DEPRECATED: Tests should not use this function.
func NewTestGlobRegexp(g string) (*regexp.Regexp, error) {
return testing.NewTestGlobRegexp(g)
}