Skip to content

Commit

Permalink
Fix luacheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner committed Jun 26, 2023
1 parent 693a7ef commit 570f611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/cl_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 570f611

Please sign in to comment.