From 9f00925a3d5e70350ad73d908d99c8ef634dc7eb Mon Sep 17 00:00:00 2001 From: George Roman Date: Sun, 10 Jun 2018 23:41:32 +0300 Subject: Fix the collecting of coverage data from unit tests --- spec/fetch_spec.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/fetch_spec.lua') 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") local testing_paths = test_env.testing_paths local get_tmp_path = test_env.get_tmp_path -describe("Luarocks fetch test #unit", function() +describe("Luarocks fetch test #unit", function() local are_same_files = function(file1, file2) return file1 == file2 or lfs.attributes(file1).ino == lfs.attributes(file2).ino end @@ -19,6 +19,7 @@ describe("Luarocks fetch test #unit", function() setup(function() runner = require("luacov.runner") runner.init(testing_paths.testrun_dir .. "/luacov.config") + runner.tick = true end) teardown(function() -- cgit v1.2.3-55-g6feb