Skip to content

Commit

Permalink
clean job after test case
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 2, 2024
1 parent d02f4aa commit 22280da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/indentmini_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ describe('indent mini', function()
'┇ end ',
'end ',
}

assert.same(expected, screenstr)
clean()
end)

it('not work when line has tab character', function()
Expand All @@ -145,6 +145,7 @@ describe('indent mini', function()
'end ',
}
assert.same(expected, screenstr)
clean()
end)

it('works on blank line', function()
Expand Down Expand Up @@ -179,6 +180,7 @@ describe('indent mini', function()
'end ',
}
assert.same(expected, screenstr)
clean()
end)

it('works on highlight current level', function()
Expand Down Expand Up @@ -219,5 +221,6 @@ describe('indent mini', function()
nvim_set_cursor(6, 8)
local ns = get_indent_ns()
assert.same(9, match_current_hl(6, 12, 5))
clean()
end)
end)

0 comments on commit 22280da

Please sign in to comment.