aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.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/ui/screen.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/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 11fde34ffc..6372cbe081 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -618,7 +618,8 @@ function Screen:_equal_attrs(a, b)
a.underline == b.underline and a.undercurl == b.undercurl and
a.italic == b.italic and a.reverse == b.reverse and
a.foreground == b.foreground and
- a.background == b.background
+ a.background == b.background and
+ a.special == b.special
end
function Screen:_attr_index(attrs, attr)