Skip to content

Commit

Permalink
Fix line number
Browse files Browse the repository at this point in the history
  • Loading branch information
MisanthropicBit committed Dec 10, 2024
1 parent 25ff938 commit 786f859
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 @@ -184,7 +184,7 @@ describe('Tests the busted command-line options', function()
it('tests running with -l specified', function()
local _, _, result = executeBusted('-l --pattern=cl_list.lua$')
local expected = 'spec/cl_list.lua:3: top-level test\n' ..
'spec/cl_list.lua:6: Tests list test 1\n' ..
'spec/cl_list.lua:7: Tests list test 1\n' ..
'spec/cl_list.lua:10: Tests list test 2\n' ..
'spec/cl_list.lua:13: Tests list test 3\n'
assert.is_equal(normpath(expected), result)
Expand All @@ -193,7 +193,7 @@ describe('Tests the busted command-line options', function()
it('tests running with --list specified', function()
local _, _, result = executeBusted('--list --pattern=cl_list.lua$')
local expected = 'spec/cl_list.lua:3: top-level test\n' ..
'spec/cl_list.lua:6: Tests list test 1\n' ..
'spec/cl_list.lua:7: Tests list test 1\n' ..
'spec/cl_list.lua:10: Tests list test 2\n' ..
'spec/cl_list.lua:13: Tests list test 3\n'
assert.is_equal(normpath(expected), result)
Expand Down

0 comments on commit 786f859

Please sign in to comment.