mirror of
https://github.com/restic/restic.git
synced 2026-10-10 04:07:11 +00:00
Add another filter test
This commit is contained in:
1 parent
9002eaa259
commit
6fe25548bd
1 file changed
+2
@@ -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},
|
||||
|
||||
Reference in new issue
Block a user