diff options
Diffstat (limited to 'spec/util_spec.lua')
-rw-r--r-- | spec/util_spec.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/util_spec.lua b/spec/util_spec.lua index ce309138..075a2122 100644 --- a/spec/util_spec.lua +++ b/spec/util_spec.lua | |||
@@ -74,6 +74,17 @@ test_env.unload_luarocks() | |||
74 | local util = require("luarocks.util") | 74 | local util = require("luarocks.util") |
75 | 75 | ||
76 | describe("Luarocks util test #unit", function() | 76 | describe("Luarocks util test #unit", function() |
77 | local runner | ||
78 | |||
79 | setup(function() | ||
80 | runner = require("luacov.runner") | ||
81 | runner.init(testing_paths.testrun_dir .. "/luacov.config") | ||
82 | end) | ||
83 | |||
84 | teardown(function() | ||
85 | runner.shutdown() | ||
86 | end) | ||
87 | |||
77 | describe("util.sortedpairs", function() | 88 | describe("util.sortedpairs", function() |
78 | local function collect(iter, state, var) | 89 | local function collect(iter, state, var) |
79 | local collected = {} | 90 | local collected = {} |