From fa9e5ab0ea2589dac3cef14086eb54a628c19999 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 11 Apr 2021 19:14:40 -0400 Subject: test/old: ':execute' does not suppress range error :2,1> should trigger backwards range error but it is suppressed for inccomand. :execute "2,1>" does not suppress the error. --- src/nvim/testdir/test_shift.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/nvim/testdir/test_shift.vim b/src/nvim/testdir/test_shift.vim index 2e50238845..ec357dac88 100644 --- a/src/nvim/testdir/test_shift.vim +++ b/src/nvim/testdir/test_shift.vim @@ -108,9 +108,10 @@ func Test_ex_shift_errors() call assert_fails('>!', 'E477:') call assert_fails('', 'E493:') - call assert_fails('2,1<', 'E493:') + " call assert_fails('2,1>', 'E493:') + call assert_fails('execute "2,1>"', 'E493:') + " call assert_fails('2,1<', 'E493:') + call assert_fails('execute "2,1<"', 'E493:') endfunc " vim: shiftwidth=2 sts=2 expandtab -- cgit