aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy')
-rw-r--r--test/functional/legacy/101_hlsearch_spec.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/legacy/101_hlsearch_spec.lua b/test/functional/legacy/101_hlsearch_spec.lua
index 3c44f02edb..4b8b1cef50 100644
--- a/test/functional/legacy/101_hlsearch_spec.lua
+++ b/test/functional/legacy/101_hlsearch_spec.lua
@@ -32,6 +32,9 @@ describe('v:hlsearch', function()
execute('AddR')
execute('/')
execute('AddR')
+ execute('set nohls')
+ execute('/')
+ execute('AddR')
execute('let r1=r[0][0]')
-- I guess it is not guaranteed that screenattr outputs always the same character
@@ -58,6 +61,7 @@ describe('v:hlsearch', function()
1:highlighted
0:not highlighted
1:highlighted
+ 0:not highlighted
Vim(let):E706:]])
end)
end)