diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-28 18:40:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-28 18:40:24 +0800 |
commit | 77626ed7fd369b797dcb2ad0714a84bfd9afff36 (patch) | |
tree | fce024d2f065017d40f1536fa4d948676da54a76 /test/functional/core/exit_spec.lua | |
parent | 9b25c68db21c4a2c1edc0d9eb2cdb80cf249193a (diff) | |
parent | b66f395ff444643852e3539b849267658e885bf4 (diff) | |
download | rneovim-77626ed7fd369b797dcb2ad0714a84bfd9afff36.tar.gz rneovim-77626ed7fd369b797dcb2ad0714a84bfd9afff36.tar.bz2 rneovim-77626ed7fd369b797dcb2ad0714a84bfd9afff36.zip |
Merge pull request #28486 from zeertzjq/vim-8.2.4603
vim-patch:8.2.{4594,4603,4607,4647,4974}
Diffstat (limited to 'test/functional/core/exit_spec.lua')
-rw-r--r-- | test/functional/core/exit_spec.lua | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/functional/core/exit_spec.lua b/test/functional/core/exit_spec.lua index 65f6bc28a6..aafad4c8a5 100644 --- a/test/functional/core/exit_spec.lua +++ b/test/functional/core/exit_spec.lua @@ -97,14 +97,26 @@ describe(':cquit', function() end) it('exits with redir msg for multiple exit codes after :cquit 1 2', function() - test_cq('cquit 1 2', nil, 'nvim_exec2(): Vim(cquit):E488: Trailing characters: 2: cquit 1 2') + test_cq( + 'cquit 1 2', + nil, + 'nvim_exec2(), line 1: 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, 'nvim_exec2(): Vim(cquit):E488: Trailing characters: X: cquit X') + test_cq( + 'cquit X', + nil, + 'nvim_exec2(), line 1: 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, 'nvim_exec2(): Vim(cquit):E488: Trailing characters: -1: cquit -1') + test_cq( + 'cquit -1', + nil, + 'nvim_exec2(), line 1: Vim(cquit):E488: Trailing characters: -1: cquit -1' + ) end) end) |