This commit is contained in:
gobwas 2016-01-13 01:27:13 +03:00
parent ce3a69147f
commit ed79d1d679
1 changed files with 8 additions and 8 deletions

View File

@ -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 {