diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-08-14 22:57:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-14 22:57:37 +0200 |
commit | e57988a9fb20067e474dda038943ec7573b47415 (patch) | |
tree | 4f7ebcf0702e188aa124b56694c1f62879dc663b /test/functional/ex_cmds/drop_spec.lua | |
parent | 884b37fd2adda17fbcc2392ae871e6999b758895 (diff) | |
parent | 725074aafcb0b2b70fc798aec84a5ca9c2233716 (diff) | |
download | rneovim-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/ex_cmds/drop_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/drop_spec.lua | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/test/functional/ex_cmds/drop_spec.lua b/test/functional/ex_cmds/drop_spec.lua index 16b194dd7d..99db5ea333 100644 --- a/test/functional/ex_cmds/drop_spec.lua +++ b/test/functional/ex_cmds/drop_spec.lua @@ -9,8 +9,8 @@ describe(":drop", function() clear() screen = Screen.new(35, 10) screen:attach() - screen:set_default_attr_ignore({{bold=true, foreground=Screen.colors.Blue}}) screen:set_default_attr_ids({ + [0] = {bold=true, foreground=Screen.colors.Blue}, [1] = {bold = true, reverse = true}, [2] = {reverse = true}, [3] = {bold = true}, @@ -26,13 +26,13 @@ describe(":drop", function() execute("drop tmp1.vim") screen:expect([[ ^ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | + {0:~ }| + {0:~ }| + {0:~ }| + {0:~ }| + {0:~ }| + {0:~ }| + {0:~ }| {1:tmp1.vim }| "tmp1.vim" [New File] | ]]) @@ -45,13 +45,13 @@ describe(":drop", function() execute("drop tmp1") screen:expect([[ {2:|}^ | - ~ {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| {2:tmp2 }{1:tmp1 }| :drop tmp1 | ]]) @@ -65,13 +65,13 @@ describe(":drop", function() execute("drop tmp3") screen:expect([[ ^ {2:|} | - ~ {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | - {1:tmp3 }{2:|}~ | - ABC {2:|}~ | - ~ {2:|}~ | - ~ {2:|}~ | + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {1:tmp3 }{2:|}{0:~ }| + ABC {2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| + {0:~ }{2:|}{0:~ }| {2:tmp2 [+] tmp1 }| "tmp3" [New File] | ]]) |