diff options
Diffstat (limited to 'spec/fetch_spec.lua')
| -rw-r--r-- | spec/fetch_spec.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fetch_spec.lua b/spec/fetch_spec.lua index aa107970..3564bffe 100644 --- a/spec/fetch_spec.lua +++ b/spec/fetch_spec.lua | |||
| @@ -9,7 +9,7 @@ local lfs = require("lfs") | |||
| 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 fetch test #unit", function() | 12 | describe("Luarocks fetch test #unit", function() |
| 13 | local are_same_files = function(file1, file2) | 13 | local are_same_files = function(file1, file2) |
| 14 | return file1 == file2 or lfs.attributes(file1).ino == lfs.attributes(file2).ino | 14 | return file1 == file2 or lfs.attributes(file1).ino == lfs.attributes(file2).ino |
| 15 | end | 15 | end |
| @@ -19,6 +19,7 @@ describe("Luarocks fetch test #unit", function() | |||
| 19 | setup(function() | 19 | setup(function() |
| 20 | runner = require("luacov.runner") | 20 | runner = require("luacov.runner") |
| 21 | runner.init(testing_paths.testrun_dir .. "/luacov.config") | 21 | runner.init(testing_paths.testrun_dir .. "/luacov.config") |
| 22 | runner.tick = true | ||
| 22 | end) | 23 | end) |
| 23 | 24 | ||
| 24 | teardown(function() | 25 | teardown(function() |
