fix(test): proper stubbing/mocking
This commit is contained in:
parent
26807d42ba
commit
ac21638550
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ describe('ansi parser', function()
|
||||||
ansi.setup_highlight_groups()
|
ansi.setup_highlight_groups()
|
||||||
|
|
||||||
local highlight = vim.api.nvim_get_hl(0, { name = 'CpAnsiRed' })
|
local highlight = vim.api.nvim_get_hl(0, { name = 'CpAnsiRed' })
|
||||||
assert.equals(nil, highlight.fg)
|
assert.equals('NONE', highlight.fg)
|
||||||
|
|
||||||
for i = 0, 15 do
|
for i = 0, 15 do
|
||||||
vim.g['terminal_color_' .. i] = original_colors[i]
|
vim.g['terminal_color_' .. i] = original_colors[i]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue