diff options
Diffstat (limited to 'spec/test_spec.lua')
-rw-r--r-- | spec/test_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/test_spec.lua b/spec/test_spec.lua index 7a2399a9..ca1d5917 100644 --- a/spec/test_spec.lua +++ b/spec/test_spec.lua | |||
@@ -38,7 +38,7 @@ describe("luarocks test #integration", function() | |||
38 | 38 | ||
39 | describe("busted backend", function() | 39 | describe("busted backend", function() |
40 | 40 | ||
41 | setup(function() | 41 | lazy_setup(function() |
42 | -- Try to cache rocks from the host system to speed up test | 42 | -- Try to cache rocks from the host system to speed up test |
43 | os.execute("luarocks pack busted") | 43 | os.execute("luarocks pack busted") |
44 | os.execute("luarocks pack lua_cliargs") | 44 | os.execute("luarocks pack lua_cliargs") |
@@ -91,7 +91,7 @@ local test_command = require("luarocks.test.command") | |||
91 | describe("LuaRocks test #unit", function() | 91 | describe("LuaRocks test #unit", function() |
92 | local runner | 92 | local runner |
93 | 93 | ||
94 | setup(function() | 94 | lazy_setup(function() |
95 | cfg.init() | 95 | cfg.init() |
96 | fs.init() | 96 | fs.init() |
97 | runner = require("luacov.runner") | 97 | runner = require("luacov.runner") |
@@ -99,7 +99,7 @@ describe("LuaRocks test #unit", function() | |||
99 | runner.tick = true | 99 | runner.tick = true |
100 | end) | 100 | end) |
101 | 101 | ||
102 | teardown(function() | 102 | lazy_teardown(function() |
103 | runner.shutdown() | 103 | runner.shutdown() |
104 | end) | 104 | end) |
105 | 105 | ||