Merge pull request #1585 from Zillode/extra-case-test

Test combination of prefixes (@benapetr)
This commit is contained in:
Jakob Borg 2015-04-05 13:37:52 +02:00
commit c2f367cf70

View File

@ -54,6 +54,7 @@ var testcases = []testcase{
{"foo.txt", "foo.TXT", CaseFold, 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.
{"hey$hello", "hey$hello", 0, true},