aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/execute_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2016-08-14 22:57:37 +0200
committerGitHub <noreply@github.com>2016-08-14 22:57:37 +0200
commite57988a9fb20067e474dda038943ec7573b47415 (patch)
tree4f7ebcf0702e188aa124b56694c1f62879dc663b /test/functional/eval/execute_spec.lua
parent884b37fd2adda17fbcc2392ae871e6999b758895 (diff)
parent725074aafcb0b2b70fc798aec84a5ca9c2233716 (diff)
downloadrneovim-e57988a9fb20067e474dda038943ec7573b47415.tar.gz
rneovim-e57988a9fb20067e474dda038943ec7573b47415.tar.bz2
rneovim-e57988a9fb20067e474dda038943ec7573b47415.zip
Merge pull request #5197 from bfredl/screenfix
cleanup of screen tests: remove unnecessary hl_group and ignores of highlights
Diffstat (limited to 'test/functional/eval/execute_spec.lua')
-rw-r--r--test/functional/eval/execute_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/eval/execute_spec.lua b/test/functional/eval/execute_spec.lua
index a91a04341f..10a6de6eb4 100644
--- a/test/functional/eval/execute_spec.lua
+++ b/test/functional/eval/execute_spec.lua
@@ -72,13 +72,13 @@ describe('execute()', function()
it('silences command run inside', function()
local screen = Screen.new(20, 5)
screen:attach()
- screen:set_default_attr_ignore({{bold=true, foreground=255}})
+ screen:set_default_attr_ids( {[0] = {bold=true, foreground=255}} )
feed(':let g:mes = execute("echon 42")<CR>')
screen:expect([[
^ |
- ~ |
- ~ |
- ~ |
+ {0:~ }|
+ {0:~ }|
+ {0:~ }|
|
]])
eq('42', eval('g:mes'))