aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/searchhl_spec.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-26 03:38:54 -0500
committerGitHub <noreply@github.com>2020-12-26 03:38:54 -0500
commitc64cce906e7ed828d331e1786c985ff7aa734546 (patch)
tree5f8913cf05a046d2ec23840915d8bb1884db768f /test/functional/ui/searchhl_spec.lua
parent84faeb07d0018c674c2bc730333fefae6123f366 (diff)
parent44bb7147e40743d9a70ee3a2663a7a7dacec7b13 (diff)
downloadrneovim-c64cce906e7ed828d331e1786c985ff7aa734546.tar.gz
rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.tar.bz2
rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.zip
Merge pull request #10848 from janlazo/vim-8.1.1189
vim-patch:8.1.{822,1189,1192}
Diffstat (limited to 'test/functional/ui/searchhl_spec.lua')
-rw-r--r--test/functional/ui/searchhl_spec.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/functional/ui/searchhl_spec.lua b/test/functional/ui/searchhl_spec.lua
index 222275eb4d..885fe7d4c9 100644
--- a/test/functional/ui/searchhl_spec.lua
+++ b/test/functional/ui/searchhl_spec.lua
@@ -20,6 +20,7 @@ describe('search highlighting', function()
[2] = {background = colors.Yellow}, -- Search
[3] = {reverse = true},
[4] = {foreground = colors.Red}, -- Message
+ [5] = {bold = true, reverse = true},
})
end)
@@ -159,7 +160,15 @@ describe('search highlighting', function()
]])
feed('/foo')
helpers.poke_eventloop()
- screen:expect_unchanged()
+ screen:expect{grid=[[
+ {3:foo} bar baz {3:│} |
+ bar baz {2:foo} {3:│} |
+ bar {2:foo} baz {3:│} |
+ {3:│} |
+ {1:~ }{3:│} |
+ {5:[No Name] [+] }{3:term }|
+ /foo^ |
+ ]]}
end)
it('works with incsearch', function()