aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/core_storagemanager_spec.lua3
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");