mirror of
https://github.com/restic/restic.git
synced 2025-08-21 10:47:35 +00:00
Add another filter test
This commit is contained in:
@@ -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