From 92b54fed9626f0bc9b844b5650e33fb73517fca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20H=C3=BCbner?= Date: Mon, 26 Jun 2023 10:01:05 +0200 Subject: [PATCH] Fix luacheck errors --- spec/cl_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/cl_spec.lua b/spec/cl_spec.lua index 5d2817da..c631e09d 100644 --- a/spec/cl_spec.lua +++ b/spec/cl_spec.lua @@ -145,12 +145,12 @@ describe('Tests the busted command-line options', function() it('tests running with --log-success and --exclude-names-file specified', function () local logfile = os.tmpname() - local success, errcnt, out, err = executeBusted('--pattern=_filter.lua$ --log-success=' .. logfile .. ' --exclude-names-file=' .. logfile) + local success, errcnt, out = executeBusted('--pattern=_filter.lua$ --log-success=' .. logfile .. ' --exclude-names-file=' .. logfile) assert.is_false(success) assert.equals(8, errcnt) assert.equals(2, count_successes(out)) -- re-run tests with previously successful tests skipped - success, errcnt, out, err = executeBusted('--pattern=_filter.lua$ --log-success=' .. logfile .. ' --exclude-names-file=' .. logfile) + success, errcnt, out = executeBusted('--pattern=_filter.lua$ --log-success=' .. logfile .. ' --exclude-names-file=' .. logfile) assert.is_false(success) assert.equals(8, errcnt) assert.equals(0, count_successes(out))