blob: 427626c2b7376d7103cfc1cfc059e774469b51bc [file] [edit]
// Copyright 2020 The ChromiumOS Authors
// 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)
}