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.
This commit is contained in:
Jan Edmund Lazo
2021-04-11 19:14:40 -04:00
parent 4ff70cc58b
commit fa9e5ab0ea

View File

@@ -108,9 +108,10 @@ func Test_ex_shift_errors()
call assert_fails('>!', 'E477:')
call assert_fails('<!', 'E477:')
throw 'skipped: TODO: '
call assert_fails('2,1>', '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