fix(test): remove old test
This commit is contained in:
parent
f71b0f54c5
commit
92cddd75c3
1 changed files with 0 additions and 11 deletions
|
|
@ -204,17 +204,6 @@ describe('diffs', function()
|
||||||
close_window(win)
|
close_window(win)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('does nothing when enabled=false', function()
|
|
||||||
diffs.setup({ enabled = false })
|
|
||||||
local win, _ = create_diff_window()
|
|
||||||
diffs.attach_diff()
|
|
||||||
|
|
||||||
local whl = vim.api.nvim_get_option_value('winhighlight', { win = win })
|
|
||||||
assert.are.equal('', whl)
|
|
||||||
|
|
||||||
close_window(win)
|
|
||||||
end)
|
|
||||||
|
|
||||||
it('is idempotent', function()
|
it('is idempotent', function()
|
||||||
local win, _ = create_diff_window()
|
local win, _ = create_diff_window()
|
||||||
assert.has_no.errors(function()
|
assert.has_no.errors(function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue