From 296e8987cb542d32527ab7a1e7d8f8a04bd03404 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Tue, 27 Feb 2018 16:38:08 -0800 Subject: [PATCH] filepathfilter: test correct set of global wildcards --- filepathfilter/filepathfilter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filepathfilter/filepathfilter_test.go b/filepathfilter/filepathfilter_test.go index 27fe20b8..78e4961b 100644 --- a/filepathfilter/filepathfilter_test.go +++ b/filepathfilter/filepathfilter_test.go @@ -7,7 +7,7 @@ import ( ) func TestPatternMatch(t *testing.T) { - for _, wildcard := range []string{"*", "*.*"} { + for _, wildcard := range []string{`*`, `.`, `./`, `.\`} { assertPatternMatch(t, wildcard, "a", "a/",