test/ui: enable strict mode by default (and in existing tests)

This commit is contained in:
Björn Linse
2015-01-23 23:53:21 +01:00
committed by Thiago de Arruda
parent 97ac9f5c1d
commit b78265e9b7
3 changed files with 31 additions and 29 deletions

View File

@@ -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:|} |