diff options
| author | James McCoy <jamessan@jamessan.com> | 2017-06-06 11:26:07 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-06 11:26:07 +0000 |
| commit | cb0abce5be1dd6212425589b61826332834dc977 (patch) | |
| tree | 5e03746ac51971cf2b15960ff068171d91710b23 /src/nvim/testdir/test_cursor_func.vim | |
| parent | 45d92e25638fda668e1e15fb99b54e588769656f (diff) | |
| parent | 75c32b549bb505890e657d760e10295cb58cb7fc (diff) | |
| download | rneovim-cb0abce5be1dd6212425589b61826332834dc977.tar.gz rneovim-cb0abce5be1dd6212425589b61826332834dc977.tar.bz2 rneovim-cb0abce5be1dd6212425589b61826332834dc977.zip | |
Merge pull request #6854 from jamessan/vim-8.0.0156
vim-patch:8.0.0156,8.0.0158,8.0.0167,8.0.0168,8.0.0360,8.0.0477,8.0.0478,8.0.0176,8.0.0561
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() |