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/plugin | |
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/plugin')
-rw-r--r-- | test/functional/plugin/matchparen_spec.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/plugin/matchparen_spec.lua b/test/functional/plugin/matchparen_spec.lua index 4181f69263..5990942de6 100644 --- a/test/functional/plugin/matchparen_spec.lua +++ b/test/functional/plugin/matchparen_spec.lua @@ -16,7 +16,10 @@ describe('matchparen', function() reset() screen = Screen.new(20,5) screen:attach() - screen:set_default_attr_ignore( {{bold=true, foreground=Screen.colors.Blue}} ) + screen:set_default_attr_ids( { + [0] = {bold=true, foreground=255}, + [1] = {bold=true}, + } ) end) it('uses correct column after i_<Up>. Vim patch 7.4.1296', function() @@ -37,7 +40,7 @@ describe('matchparen', function() ^ | } | {1:-- INSERT --} | - ]], {[1] = {bold = true}}) + ]]) end) end) |