From 0ca8c460e867356342180bb625760ed9201a5503 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 28 Feb 2024 22:38:41 -0300 Subject: tests: disable luacov runner tick --- spec/unit/util_spec.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spec/unit/util_spec.lua') diff --git a/spec/unit/util_spec.lua b/spec/unit/util_spec.lua index 0e380f2a..bb427b3e 100644 --- a/spec/unit/util_spec.lua +++ b/spec/unit/util_spec.lua @@ -11,11 +11,10 @@ describe("luarocks.util #unit", function() setup(function() runner = require("luacov.runner") runner.init(testing_paths.testrun_dir .. "/luacov.config") - runner.tick = true end) - teardown(function() - runner.shutdown() + lazy_teardown(function() + runner.save_stats() end) describe("util.variable_substitutions", function() -- cgit v1.2.3-55-g6feb