aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/search_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-10-12 13:29:51 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-10-13 22:10:42 +0200
commita330129a280a34963e42d498f7cb1f53e6723e85 (patch)
treef296ab9e478df5641db4a5f09be669300dfae493 /test/functional/legacy/search_spec.lua
parent5a85699425661a1b508627843c40812d1d07fb2c (diff)
downloadrneovim-a330129a280a34963e42d498f7cb1f53e6723e85.tar.gz
rneovim-a330129a280a34963e42d498f7cb1f53e6723e85.tar.bz2
rneovim-a330129a280a34963e42d498f7cb1f53e6723e85.zip
tests/ui: cleanup illegitimate usages of "attr_ignore"
"attr_ignore" is an anti-pattern, with snapshot_util() just include all the highlights already.
Diffstat (limited to 'test/functional/legacy/search_spec.lua')
-rw-r--r--test/functional/legacy/search_spec.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/functional/legacy/search_spec.lua b/test/functional/legacy/search_spec.lua
index 3ed06a22e7..bed4dc2a09 100644
--- a/test/functional/legacy/search_spec.lua
+++ b/test/functional/legacy/search_spec.lua
@@ -408,10 +408,7 @@ describe('search cmdline', function()
screen = Screen.new(20, 6)
screen:attach()
screen:set_default_attr_ids({
- inc = {reverse = true}
- })
- screen:set_default_attr_ignore({
- {bold=true, reverse=true}, {bold=true, foreground=Screen.colors.Blue1}
+ inc = {reverse = true},
})
tenlines()