vendor: Update github.com/gobwas/glob (fixes #3174)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3207
This commit is contained in:
Jakob Borg
2016-05-28 04:43:54 +00:00
parent c2dc4a8e06
commit 4453236949
30 changed files with 255 additions and 3396 deletions

View File

@@ -703,3 +703,18 @@ func TestIssue3164(t *testing.T) {
}
}
}
func TestIssue3174(t *testing.T) {
stignore := `
*ä*
`
pats := New(true)
err := pats.Parse(bytes.NewBufferString(stignore), ".stignore")
if err != nil {
t.Fatal(err)
}
if !pats.Match("åäö").IsIgnored() {
t.Error("Should match")
}
}