mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test/ui: enable strict mode by default (and in existing tests)
This commit is contained in:
committed by
Thiago de Arruda
parent
97ac9f5c1d
commit
b78265e9b7
@@ -42,6 +42,8 @@ describe('Default highlight groups', function()
|
||||
clear()
|
||||
screen = Screen.new()
|
||||
screen:attach()
|
||||
--ignore highligting of ~-lines
|
||||
screen:set_default_attr_ignore( {{bold=true, foreground=hlgroup_colors.NonText}} )
|
||||
end)
|
||||
|
||||
after_each(function()
|
||||
@@ -52,8 +54,6 @@ describe('Default highlight groups', function()
|
||||
[1] = {reverse = true, bold = true}, -- StatusLine
|
||||
[2] = {reverse = true} -- StatusLineNC
|
||||
})
|
||||
--ignore highligting of ~-lines
|
||||
screen:set_default_attr_ignore( {{}, {bold=true, foreground=hlgroup_colors.NonText}} )
|
||||
execute('sp', 'vsp', 'vsp')
|
||||
screen:expect([[
|
||||
^ {2:|} {2:|} |
|
||||
|
||||
Reference in New Issue
Block a user