aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-16 19:28:17 +0800
committerGitHub <noreply@github.com>2023-01-16 19:28:17 +0800
commite7ea156604156b7a70d120d0df5448442b1cdf10 (patch)
tree5270a336a2a70b7bf19275214830055aefb81999 /test/functional/core
parent90493beb1584b9a99d3a71658bccd536d601e0f7 (diff)
parent61d5bd561addfd4cc9917712bdf983e77137089e (diff)
downloadrneovim-e7ea156604156b7a70d120d0df5448442b1cdf10.tar.gz
rneovim-e7ea156604156b7a70d120d0df5448442b1cdf10.tar.bz2
rneovim-e7ea156604156b7a70d120d0df5448442b1cdf10.zip
Merge pull request #20945 from erw7/feat-more-exception-info
feat(api): show more exception info
Diffstat (limited to 'test/functional/core')
-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 8cad7adfa6..05a69e1992 100644
--- a/test/functional/core/exit_spec.lua
+++ b/test/functional/core/exit_spec.lua
@@ -89,14 +89,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: 2: cquit 1 2')
+ test_cq('cquit 1 2', nil, 'nvim_exec(): 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: X: cquit X')
+ test_cq('cquit X', nil, 'nvim_exec(): 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: -1: cquit -1')
+ test_cq('cquit -1', nil, 'nvim_exec(): Vim(cquit):E488: Trailing characters: -1: cquit -1')
end)
end)