From 4aa4675fbface275224d178ebb436bc214dd1056 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 12 Jul 2022 14:45:36 +0800 Subject: 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. --- test/functional/legacy/arglist_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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) -- cgit