aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/exit_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-07 15:22:48 +0800
committerGitHub <noreply@github.com>2022-08-07 15:22:48 +0800
commitfea15adad394619aaea69b627be249f8a20dc2ed (patch)
treeb016aaf3d9c8cd62d701ebe8f0dbaf17f645bc3a /test/functional/core/exit_spec.lua
parent0fdf59ac9d30d8874ba6eba22a8bdfb41c1603b7 (diff)
parent48051ed62cde6ab572bcd48768fe43740f3cd48c (diff)
downloadrneovim-fea15adad394619aaea69b627be249f8a20dc2ed.tar.gz
rneovim-fea15adad394619aaea69b627be249f8a20dc2ed.tar.bz2
rneovim-fea15adad394619aaea69b627be249f8a20dc2ed.zip
Merge pull request #19669 from zeertzjq/vim-8.2.1278
vim-patch:8.2.{1278,1280,1281}: error message improvements
Diffstat (limited to 'test/functional/core/exit_spec.lua')
-rw-r--r--test/functional/core/exit_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/core/exit_spec.lua b/test/functional/core/exit_spec.lua
index a47e7568a9..4dba58dbfc 100644
--- a/test/functional/core/exit_spec.lua
+++ b/test/functional/core/exit_spec.lua
@@ -87,14 +87,14 @@ describe(':cquit', function()
end)
it('exits with redir msg for multiple exit codes after :cquit 1 2', function()
- test_cq('cquit 1 2', nil, 'Vim(cquit):E488: Trailing characters: cquit 1 2')
+ test_cq('cquit 1 2', nil, 'Vim(cquit):E488: Trailing characters: 2: cquit 1 2')
end)
it('exits with redir msg for non-number exit code after :cquit X', function()
- test_cq('cquit X', nil, 'Vim(cquit):E488: Trailing characters: cquit X')
+ test_cq('cquit X', nil, 'Vim(cquit):E488: Trailing characters: X: cquit X')
end)
it('exits with redir msg for negative exit code after :cquit -1', function()
- test_cq('cquit -1', nil, 'Vim(cquit):E488: Trailing characters: cquit -1')
+ test_cq('cquit -1', nil, 'Vim(cquit):E488: Trailing characters: -1: cquit -1')
end)
end)