diff --git a/src/restic/filter/filter_test.go b/src/restic/filter/filter_test.go index 096edb4c6..2fb04cdf5 100644 --- a/src/restic/filter/filter_test.go +++ b/src/restic/filter/filter_test.go @@ -45,6 +45,8 @@ var matchTests = []struct { {"/foo/../bar", "/bar", true}, {"/foo", "/foo/baz", true}, {"/foo/", "/foo/baz", true}, + {"/foo/*", "/foo", false}, + {"/foo/*", "/foo/baz", true}, {"bar", "/foo/bar/baz", true}, {"bar", "/foo/bar/test.go", true}, {"/foo/*test.*", "/foo/bar/test.go", false},