diff options
| author | James McCoy <jamessan@jamessan.com> | 2017-06-06 07:33:50 -0400 |
|---|---|---|
| committer | James McCoy <jamessan@jamessan.com> | 2017-06-06 07:33:50 -0400 |
| commit | 9281653233dbf7a365370883d35062fe940d7926 (patch) | |
| tree | 67bead0497d5a127b953e43c5fd55d6fbf4d098f /src/nvim/testdir/test_cursor_func.vim | |
| parent | b3129b37917f54eb056033a41d1acbb920a5b93b (diff) | |
| parent | cb0abce5be1dd6212425589b61826332834dc977 (diff) | |
| download | rneovim-9281653233dbf7a365370883d35062fe940d7926.tar.gz rneovim-9281653233dbf7a365370883d35062fe940d7926.tar.bz2 rneovim-9281653233dbf7a365370883d35062fe940d7926.zip | |
Merge remote-tracking branch 'origin/master' into vim-7.4.1975
Diffstat (limited to 'src/nvim/testdir/test_cursor_func.vim')
| -rw-r--r-- | src/nvim/testdir/test_cursor_func.vim | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_cursor_func.vim b/src/nvim/testdir/test_cursor_func.vim index d819b7b092..e1b9651c84 100644 --- a/src/nvim/testdir/test_cursor_func.vim +++ b/src/nvim/testdir/test_cursor_func.vim @@ -1,13 +1,7 @@ " Tests for cursor(). func Test_wrong_arguments() - try - call cursor(1. 3) - " not reached - call assert_false(1) - catch - call assert_exception('E474:') - endtry + call assert_fails('call cursor(1. 3)', 'E474:') endfunc func Test_move_cursor() |