diff options
Diffstat (limited to 'spec/fs_spec.lua')
-rw-r--r-- | spec/fs_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fs_spec.lua b/spec/fs_spec.lua index e09ac6df..f1529c39 100644 --- a/spec/fs_spec.lua +++ b/spec/fs_spec.lua | |||
@@ -9,7 +9,7 @@ local posix_ok = pcall(require, "posix") | |||
9 | local testing_paths = test_env.testing_paths | 9 | local testing_paths = test_env.testing_paths |
10 | local get_tmp_path = test_env.get_tmp_path | 10 | local get_tmp_path = test_env.get_tmp_path |
11 | 11 | ||
12 | describe("Luarocks fs test #unit", function() | 12 | describe("Luarocks fs test #unit", function() |
13 | local exists_file = function(path) | 13 | local exists_file = function(path) |
14 | local ok, err, code = os.rename(path, path) | 14 | local ok, err, code = os.rename(path, path) |
15 | if not ok and code == 13 then | 15 | if not ok and code == 13 then |
@@ -56,6 +56,7 @@ describe("Luarocks fs test #unit", function() | |||
56 | setup(function() | 56 | setup(function() |
57 | runner = require("luacov.runner") | 57 | runner = require("luacov.runner") |
58 | runner.init(testing_paths.testrun_dir .. "/luacov.config") | 58 | runner.init(testing_paths.testrun_dir .. "/luacov.config") |
59 | runner.tick = true | ||
59 | end) | 60 | end) |
60 | 61 | ||
61 | teardown(function() | 62 | teardown(function() |