# HG changeset patch # User Matthew Wild # Date 1583942856 0 # Node ID c9251d74a112b1f06682d8e9c471befcbe86c55e # Parent 0054aec3e8c5636a8c178ae1408029713b4893d2 storagemanager: Fix unused variable in tests [luacheck] diff -r 0054aec3e8c5 -r c9251d74a112 spec/core_storagemanager_spec.lua --- a/spec/core_storagemanager_spec.lua Wed Mar 11 15:57:53 2020 +0000 +++ b/spec/core_storagemanager_spec.lua Wed Mar 11 16:07:36 2020 +0000 @@ -64,6 +64,7 @@ local sql_it = backend_config.sql and it or pending; + describe("key-value stores", function () -- These tests rely on being executed in order, disable any order -- randomization for this block @@ -156,7 +157,7 @@ assert.is_function(store.delete_key); assert(store:set("user9999b", "foo", "hello")); - local ret, err = store:delete_key("bar"); + assert(store:delete_key("bar")); -- Ensure key was deleted do local ret, err = store:get("user9999b", "bar");