Patch 8.1.2166
Problem:    Rubyeval() not tested as a method.
Solution:   Change a test case.
Files:      src/testdir/test_ruby.vim


*** ../vim-8.1.2165/src/testdir/test_ruby.vim   2019-06-15 17:57:43.972724036 
+0200
--- src/testdir/test_ruby.vim   2019-09-04 22:26:26.233542502 +0200
***************
*** 46,52 ****
    " 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_fails('ruby $curwin.cursor = [1]',
          \           'ArgumentError: array length must be 2')
--- 46,52 ----
    " Check that movement after setting cursor position keeps current column.
    normal j
    call assert_equal([2, 6], [line('.'), col('.')])
!   call assert_equal([2, 5], '$curwin.cursor'->rubyeval())
  
    call assert_fails('ruby $curwin.cursor = [1]',
          \           'ArgumentError: array length must be 2')
*** ../vim-8.1.2165/src/version.c       2019-10-16 22:27:45.953650381 +0200
--- src/version.c       2019-10-16 22:35:47.223093930 +0200
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     2166,
  /**/

-- 
MICHAEL PALIN PLAYED: 1ST SOLDIER WITH A KEEN INTEREST IN BIRDS, DENNIS, MR
                      DUCK (A VILLAGE CARPENTER WHO IS ALMOST KEENER THAN
                      ANYONE ELSE TO BURN WITCHES), THREE-HEADED KNIGHT, SIR
                      GALAHAD, KING OF SWAMP CASTLE, BROTHER MAYNARD'S ROOMATE
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201910162036.x9GKafEg018791%40masaka.moolenaar.net.

Raspunde prin e-mail lui