fix stuttering StoreValueUnsetError

This commit is contained in:
Thomas Tendyck 2022-03-25 12:49:22 +01:00 committed by Thomas Tendyck
parent 5660f813f0
commit b1818ba089
5 changed files with 9 additions and 9 deletions

View file

@ -65,7 +65,7 @@ func testBasic(t *testing.T) {
_, err = store.Get("invalid:key")
assert.Error(err)
var unsetErr *StoreValueUnsetError
var unsetErr *ValueUnsetError
assert.ErrorAs(err, &unsetErr)
assert.NoError(store.Delete("test:input"))
assert.NoError(store.Delete("another:input"))