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))