mirror of
https://github.com/neovim/neovim.git
synced 2026-01-18 02:59:25 +10:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user