aboutsummaryrefslogtreecommitdiff
path: root/spec/tools_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/tools_spec.lua')
-rw-r--r--spec/tools_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/tools_spec.lua b/spec/tools_spec.lua
index 8805d703..10dafb0b 100644
--- a/spec/tools_spec.lua
+++ b/spec/tools_spec.lua
@@ -5,7 +5,7 @@ local write_file = test_env.write_file
5 5
6test_env.unload_luarocks() 6test_env.unload_luarocks()
7local fs = require("luarocks.fs") 7local fs = require("luarocks.fs")
8local patch = package.loaded["luarocks.tools.patch"] 8local patch = require("luarocks.tools.patch")
9 9
10local lao = 10local lao =
11[[The Nameless is the origin of Heaven and Earth; 11[[The Nameless is the origin of Heaven and Earth;
@@ -148,6 +148,7 @@ describe("Luarocks patch test #unit", function()
148 local runner 148 local runner
149 149
150 setup(function() 150 setup(function()
151 fs.init()
151 runner = require("luacov.runner") 152 runner = require("luacov.runner")
152 runner.init(testing_paths.testrun_dir .. "/luacov.config") 153 runner.init(testing_paths.testrun_dir .. "/luacov.config")
153 runner.tick = true 154 runner.tick = true