go/src/cmd/internal/pkgpattern/pat_test.go

var matchPatternTests

func TestMatchPattern(t *testing.T) {}

var matchSimplePatternTests

func TestSimpleMatchPattern(t *testing.T) {}

var treeCanMatchPatternTests

func TestTreeCanMatchPattern(t *testing.T) {}

var hasPathPrefixTests

func TestHasPathPrefix(t *testing.T) {}

type stringPairTest

func testStringPairs(t *testing.T, name string, tests []stringPairTest, f func(string, string) bool) {}

func testPatterns(t *testing.T, name, tests string, fn func(string, string) bool) {}