mirror of https://github.com/gobwas/glob.git
off
This commit is contained in:
parent
ce3a69147f
commit
ed79d1d679
16
glob_test.go
16
glob_test.go
|
@ -81,14 +81,14 @@ func TestCompilePattern(t *testing.T) {
|
||||||
sep string
|
sep string
|
||||||
exp match.Matcher
|
exp match.Matcher
|
||||||
}{
|
}{
|
||||||
{
|
// {
|
||||||
pattern: "left*??B*abcd*[!b]??*abc*right",
|
// pattern: "left*??B*abcd*[!b]??*abc*right",
|
||||||
exp: match.Raw{"t"},
|
// exp: match.Raw{"t"},
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
pattern: "abc*??def",
|
// pattern: "abc*??def",
|
||||||
exp: match.Raw{"t"},
|
// exp: match.Raw{"t"},
|
||||||
},
|
// },
|
||||||
} {
|
} {
|
||||||
glob, err := Compile(test.pattern, test.sep)
|
glob, err := Compile(test.pattern, test.sep)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue