diff --git a/internal/fnmatch/fnmatch_test.go b/internal/fnmatch/fnmatch_test.go index 8e7de7dec..1d9aa396f 100644 --- a/internal/fnmatch/fnmatch_test.go +++ b/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},