backend: remove parameter validation tests

These parameter validations have been factored out into
SemaphoreBackend.
This commit is contained in:
Michael Eischer
2023-04-07 23:24:14 +02:00
parent 803640ba4b
commit 45244fdf68
2 changed files with 1 additions and 18 deletions

View File

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