From f21dfea965e7d9ba875bef1f331e05a439e0004b Mon Sep 17 00:00:00 2001 From: Lode Hoste Date: Sun, 5 Apr 2015 11:45:43 +0200 Subject: [PATCH] Test combination of prefixes (@benapetr) --- internal/fnmatch/fnmatch_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/fnmatch/fnmatch_test.go b/internal/fnmatch/fnmatch_test.go index 8e7de7de..1d9aa396 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},