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/dir_spec.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spec/unit/dir_spec.lua') diff --git a/spec/unit/dir_spec.lua b/spec/unit/dir_spec.lua index f340beea..da5d6389 100644 --- a/spec/unit/dir_spec.lua +++ b/spec/unit/dir_spec.lua @@ -11,11 +11,10 @@ describe("luarocks.dir #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("dir.is_basic_protocol", function() -- cgit v1.2.3-55-g6feb