aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-12 14:45:36 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-12 16:23:32 +0800
commit4aa4675fbface275224d178ebb436bc214dd1056 (patch)
treec54a5272b2cc8415b82549ba48381e423791090c /test/functional
parent01afd43bc90408b43db906845245a4959c8ee3a0 (diff)
downloadrneovim-4aa4675fbface275224d178ebb436bc214dd1056.tar.gz
rneovim-4aa4675fbface275224d178ebb436bc214dd1056.tar.bz2
rneovim-4aa4675fbface275224d178ebb436bc214dd1056.zip
vim-patch:8.2.0293: various Ex commands not sufficiently tested
Problem: Various Ex commands not sufficiently tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5673) https://github.com/vim/vim/commit/818fc9ad143911b2faa0d7cee86724aa70a02080 Needs to assert E170 instead of E580 because patch 8.2.3486 has been ported but patch 8.2.1183 hasn't.
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/arglist_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/legacy/arglist_spec.lua b/test/functional/legacy/arglist_spec.lua
index 6acbaf03b2..8379e426e0 100644
--- a/test/functional/legacy/arglist_spec.lua
+++ b/test/functional/legacy/arglist_spec.lua
@@ -238,6 +238,7 @@ describe('argument list commands', function()
end)
it('quitting Vim with unedited files in the argument list throws E173', function()
+ command('set nomore')
command('args a b c')
eq('Vim(quit):E173: 2 more files to edit', pcall_err(command, 'quit'))
end)