To: vim_dev@googlegroups.com Subject: Patch 8.1.2166 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///