aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/channel_spec.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-03-17 06:21:24 +0100
committerGitHub <noreply@github.com>2022-03-17 13:21:24 +0800
commitd238b8f6003d34cae7f65ff7585b48a2cd9449fb (patch)
tree743b7bf9e15c0587c09dff05a84468114db664e4 /test/functional/terminal/channel_spec.lua
parent746a29c58041e0470a4e8f9446378caba32f037c (diff)
downloadrneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.tar.gz
rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.tar.bz2
rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.zip
chore: fix typos (#17670)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'test/functional/terminal/channel_spec.lua')
-rw-r--r--test/functional/terminal/channel_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/channel_spec.lua b/test/functional/terminal/channel_spec.lua
index 9059441fd9..b5f3c2bd31 100644
--- a/test/functional/terminal/channel_spec.lua
+++ b/test/functional/terminal/channel_spec.lua
@@ -33,7 +33,7 @@ describe('terminal channel is closed and later released if', function()
-- channel has been closed but not released
eq("Vim(call):Can't send data to closed stream",
pcall_err(command, [[call chanclose(id) | call chansend(id, 'test')]]))
- screen:expect({any='%[Terminal closed]'})
+ screen:expect({any='%[Terminal closed%]'})
eq(chans, eval('len(nvim_list_chans())'))
-- delete terminal
feed('i<CR>')
@@ -49,7 +49,7 @@ describe('terminal channel is closed and later released if', function()
-- channel has been closed but not released
eq("Vim(call):Can't send data to closed stream",
pcall_err(command, [[call chanclose(id) | call chansend(id, 'test')]]))
- screen:expect({any='%[Terminal closed]'})
+ screen:expect({any='%[Terminal closed%]'})
eq(chans, eval('len(nvim_list_chans())'))
-- channel still hasn't been released yet
eq("Vim(call):Can't send data to closed stream",