aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-03-23 20:01:21 +0100
committerGitHub <noreply@github.com>2024-03-23 20:01:21 +0100
commit3d9c028a4ce1557af7f7269968db5dd0c480f270 (patch)
treefa08e1ee69250026610790531336a9dbef0a4aaf /test/functional/api/vim_spec.lua
parent2c1e8f7e96926f70151d737ea32f1e6ff3589263 (diff)
parent0c59771e314d6faaad69676985cd2a11c157ee37 (diff)
downloadrneovim-3d9c028a4ce1557af7f7269968db5dd0c480f270.tar.gz
rneovim-3d9c028a4ce1557af7f7269968db5dd0c480f270.tar.bz2
rneovim-3d9c028a4ce1557af7f7269968db5dd0c480f270.zip
Merge pull request #27980 from bfredl/noignore
refactor(tests): all screen tests should use highlights
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r--test/functional/api/vim_spec.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index ef602b3a51..d98308ee87 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -1269,7 +1269,7 @@ describe('API', function()
api.nvim_paste('', true, 3)
screen:expect([[
|
- ~ |*2
+ {1:~ }|*2
:Foo^ |
]])
end)
@@ -1280,8 +1280,8 @@ describe('API', function()
api.nvim_paste('normal! \023\022\006\027', true, -1)
screen:expect([[
|
- ~ |*2
- :normal! ^W^V^F^[^ |
+ {1:~ }|*2
+ :normal! {18:^W^V^F^[}^ |
]])
end)
it('crlf=false does not break lines at CR, CRLF', function()
@@ -1981,9 +1981,9 @@ describe('API', function()
-- Make any RPC request (can be non-async: op-pending does not block).
api.nvim_get_current_buf()
screen:expect([[
- ^a$ |
- b$ |
- c$ |
+ ^a{1:$} |
+ b{1:$} |
+ c{1:$} |
|
]])
end)