diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-03-11 16:07:36 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-03-11 16:07:36 +0000 |
commit | e15b284dc80c208bdec60a2bb2ad8939822418fc (patch) | |
tree | 39f2309dd6d7643daa5ac9a35796e245265cce91 /spec | |
parent | d669797472629e4876d295a67f76ac045ddb6d30 (diff) | |
download | prosody-e15b284dc80c208bdec60a2bb2ad8939822418fc.tar.gz prosody-e15b284dc80c208bdec60a2bb2ad8939822418fc.zip |
storagemanager: Fix unused variable in tests [luacheck]
Diffstat (limited to 'spec')
-rw-r--r-- | spec/core_storagemanager_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/core_storagemanager_spec.lua b/spec/core_storagemanager_spec.lua index 69afd87a..dd80f4b8 100644 --- a/spec/core_storagemanager_spec.lua +++ b/spec/core_storagemanager_spec.lua @@ -64,6 +64,7 @@ describe("storagemanager", function () 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 @@ describe("storagemanager", function () 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"); |