aboutsummaryrefslogtreecommitdiff
path: root/spec/persist_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/persist_spec.lua')
-rw-r--r--spec/persist_spec.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/persist_spec.lua b/spec/persist_spec.lua
index f61c7176..339147b1 100644
--- a/spec/persist_spec.lua
+++ b/spec/persist_spec.lua
@@ -1,9 +1,21 @@
1local test_env = require("spec.util.test_env") 1local test_env = require("spec.util.test_env")
2local testing_paths = test_env.testing_paths
2 3
3test_env.unload_luarocks() 4test_env.unload_luarocks()
4local persist = require("luarocks.persist") 5local persist = require("luarocks.persist")
5 6
6describe("Luarocks persist test #unit", function() 7describe("Luarocks persist test #unit", function()
8 local runner
9
10 setup(function()
11 runner = require("luacov.runner")
12 runner.init(testing_paths.testrun_dir .. "/luacov.config")
13 end)
14
15 teardown(function()
16 runner.shutdown()
17 end)
18
7 describe("persist.save_from_table_to_string", function() 19 describe("persist.save_from_table_to_string", function()
8 it("simple table", function() 20 it("simple table", function()
9 assert.are.same([[ 21 assert.are.same([[