aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-11-01 17:45:21 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2021-11-26 18:53:11 +0000
commitf37f08314dd1dfbf5f6526c70802763ce86202ef (patch)
tree975648bd740b0bb6ed4588f7fd9c69521238ff3b
parent2ad92e947650cc502952b3ec23a23f9862f3a76d (diff)
downloadrneovim-f37f08314dd1dfbf5f6526c70802763ce86202ef.tar.gz
rneovim-f37f08314dd1dfbf5f6526c70802763ce86202ef.tar.bz2
rneovim-f37f08314dd1dfbf5f6526c70802763ce86202ef.zip
vim-patch:8.1.2166: rubyeval() not tested as a method
Problem: Rubyeval() not tested as a method. Solution: Change a test case. https://github.com/vim/vim/commit/4a4981b7cd57b0b2289ed4f9d621ef4d90d767f0
-rw-r--r--src/nvim/testdir/test_ruby.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_ruby.vim b/src/nvim/testdir/test_ruby.vim
index 1a274d1fec..1fbf3392d9 100644
--- a/src/nvim/testdir/test_ruby.vim
+++ b/src/nvim/testdir/test_ruby.vim
@@ -60,7 +60,7 @@ func Test_ruby_set_cursor()
" Check that movement after setting cursor position keeps current column.
normal j
call assert_equal([2, 6], [line('.'), col('.')])
- call assert_equal([2, 5], rubyeval('$curwin.cursor'))
+ call assert_equal([2, 5], '$curwin.cursor'->rubyeval())
" call assert_fails('ruby $curwin.cursor = [1]',
" \ 'ArgumentError: array length must be 2')