mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-12 16:26:37 +00:00
Test combination of prefixes (@benapetr)
This commit is contained in:
parent
b84cad4db0
commit
f21dfea965
@ -54,6 +54,7 @@ var testcases = []testcase{
|
|||||||
|
|
||||||
{"foo.txt", "foo.TXT", CaseFold, true},
|
{"foo.txt", "foo.TXT", CaseFold, true},
|
||||||
{"(?i)foo.txt", "foo.TXT", 0, true},
|
{"(?i)foo.txt", "foo.TXT", 0, true},
|
||||||
|
{"(?i)**foo.txt", "/dev/tmp/foo.TXT", 0, true},
|
||||||
|
|
||||||
// These characters are literals in glob, but not in regexp.
|
// These characters are literals in glob, but not in regexp.
|
||||||
{"hey$hello", "hey$hello", 0, true},
|
{"hey$hello", "hey$hello", 0, true},
|
||||||
|
Loading…
Reference in New Issue
Block a user