diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-11 19:14:40 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-11 19:14:48 -0400 |
commit | fa9e5ab0ea2589dac3cef14086eb54a628c19999 (patch) | |
tree | 0c394b147f4e78b32950c6b8ebec66118ca7e3dd /src | |
parent | 4ff70cc58be28f295b4ac953dbbb7c21bbe3777a (diff) | |
download | rneovim-fa9e5ab0ea2589dac3cef14086eb54a628c19999.tar.gz rneovim-fa9e5ab0ea2589dac3cef14086eb54a628c19999.tar.bz2 rneovim-fa9e5ab0ea2589dac3cef14086eb54a628c19999.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_shift.vim | 7 |
1 files changed, 4 insertions, 3 deletions
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('<!', '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 |