Răsfoiți Sursa

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

Test combination of prefixes (@benapetr)
Jakob Borg 10 ani în urmă
părinte
comite
c2f367cf70
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      internal/fnmatch/fnmatch_test.go

+ 1 - 0
internal/fnmatch/fnmatch_test.go

@@ -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},