aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/highlight_spec.lua
diff options
context:
space:
mode:
authorAdnoC <adam.r.cutler@gmail.com>2016-05-17 16:25:11 -0400
committerAdnoC <adam.r.cutler@gmail.com>2016-05-17 16:36:41 -0400
commite5eea7fa06ae7057521755d1f638d34e049bd379 (patch)
treee7e2241ef36f792e143e6da45ef85a6033689a31 /test/functional/terminal/highlight_spec.lua
parent954aeafa8999d4b3ea9cc9f823457a223e086863 (diff)
downloadrneovim-e5eea7fa06ae7057521755d1f638d34e049bd379.tar.gz
rneovim-e5eea7fa06ae7057521755d1f638d34e049bd379.tar.bz2
rneovim-e5eea7fa06ae7057521755d1f638d34e049bd379.zip
test: Screen also checks 'special' when testing attribute equality
Diffstat (limited to 'test/functional/terminal/highlight_spec.lua')
-rw-r--r--test/functional/terminal/highlight_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua
index 045f5aa42f..97875c5147 100644
--- a/test/functional/terminal/highlight_spec.lua
+++ b/test/functional/terminal/highlight_spec.lua
@@ -25,7 +25,7 @@ describe('terminal window highlighting', function()
[5] = {background = 11},
[6] = {foreground = 130},
[7] = {reverse = true},
- [8] = {background = 11}
+ [8] = {background = 11},
})
screen:attach(false)
execute('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert')
@@ -121,7 +121,7 @@ describe('terminal window highlighting with custom palette', function()
clear()
screen = Screen.new(50, 7)
screen:set_default_attr_ids({
- [1] = {foreground = 1193046}
+ [1] = {foreground = 1193046, special = Screen.colors.Black}
})
screen:set_default_attr_ignore({
[1] = {bold = true},
@@ -130,7 +130,7 @@ describe('terminal window highlighting with custom palette', function()
[5] = {background = 11},
[6] = {foreground = 130},
[7] = {reverse = true},
- [8] = {background = 11}
+ [8] = {background = 11},
})
screen:attach(true)
nvim('set_var', 'terminal_color_3', '#123456')