mirror of
https://github.com/restic/restic.git
synced 2025-08-20 07:17:31 +00:00
backend: remove parameter validation tests
These parameter validations have been factored out into SemaphoreBackend.
This commit is contained in:
@@ -40,11 +40,9 @@ func TestDry(t *testing.T) {
|
||||
{d, "delete", "", "", ""},
|
||||
{d, "stat", "a", "", "not found"},
|
||||
{d, "list", "", "", ""},
|
||||
{d, "save", "", "", "invalid"},
|
||||
{m, "save", "a", "baz", ""}, // save a directly to the mem backend
|
||||
{d, "save", "b", "foob", ""}, // b is not saved
|
||||
{d, "save", "b", "xxx", ""}, // no error as b is not saved
|
||||
{d, "stat", "", "", "invalid"},
|
||||
{d, "stat", "a", "a 3", ""},
|
||||
{d, "load", "a", "baz", ""},
|
||||
{d, "load", "b", "", "not found"},
|
||||
|
Reference in New Issue
Block a user