1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 16:26:11 +00:00

Add another filter test

This commit is contained in:
Alexander Neumann 2016-04-17 22:04:42 +02:00
parent 9002eaa259
commit 6fe25548bd

View file

@ -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},