diff options
Diffstat (limited to 'spec/dir_spec.lua')
-rw-r--r-- | spec/dir_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/dir_spec.lua b/spec/dir_spec.lua index c5162b60..1b568c8f 100644 --- a/spec/dir_spec.lua +++ b/spec/dir_spec.lua | |||
@@ -7,17 +7,17 @@ local dir = require("luarocks.dir") | |||
7 | 7 | ||
8 | describe("luarocks.dir #unit", function() | 8 | describe("luarocks.dir #unit", function() |
9 | local runner | 9 | local runner |
10 | 10 | ||
11 | setup(function() | 11 | setup(function() |
12 | runner = require("luacov.runner") | 12 | runner = require("luacov.runner") |
13 | runner.init(testing_paths.testrun_dir .. "/luacov.config") | 13 | runner.init(testing_paths.testrun_dir .. "/luacov.config") |
14 | runner.tick = true | 14 | runner.tick = true |
15 | end) | 15 | end) |
16 | 16 | ||
17 | teardown(function() | 17 | teardown(function() |
18 | runner.shutdown() | 18 | runner.shutdown() |
19 | end) | 19 | end) |
20 | 20 | ||
21 | describe("dir.is_basic_protocol", function() | 21 | describe("dir.is_basic_protocol", function() |
22 | it("checks whether the arguments represent a valid protocol and returns the result of the check", function() | 22 | it("checks whether the arguments represent a valid protocol and returns the result of the check", function() |
23 | assert.truthy(dir.is_basic_protocol("http")) | 23 | assert.truthy(dir.is_basic_protocol("http")) |