To: vim_dev@googlegroups.com Subject: Patch 8.2.3344 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3344 (after 8.2.3343) Problem: Vimscript test fails. Solution: Have test verify first error instead of second Files: src/testdir/test_vimscript.vim *** ../vim-8.2.3343/src/testdir/test_vimscript.vim 2021-06-17 22:08:13.376738576 +0200 --- src/testdir/test_vimscript.vim 2021-08-14 15:15:14.262052338 +0200 *************** *** 5657,5663 **** call EXEC(cmd . ' novar #') " normal plus syntax error catch /^Vim\((\a\+)\)\=:/ Xloop 'e' ! call assert_match('E488: Trailing characters', v:exception) finally Xloop 'f' call assert_equal("", v:errmsg) --- 5657,5668 ---- call EXEC(cmd . ' novar #') " normal plus syntax error catch /^Vim\((\a\+)\)\=:/ Xloop 'e' ! if cmd =~ 'unlet' ! " TODO: should get error for 'novar' ! call assert_match('E488: Trailing characters', v:exception) ! else ! call assert_match('E121: Undefined variable: novar', v:exception) ! endif finally Xloop 'f' call assert_equal("", v:errmsg) *** ../vim-8.2.3343/src/version.c 2021-08-14 14:59:21.919933809 +0200 --- src/version.c 2021-08-14 15:08:41.566777989 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3344, /**/ -- ARTHUR: Charge! [They all charge with swords drawn towards the RABBIT. A tremendous twenty second fight with Peckinpahish shots and borrowing heavily also on the Kung Fu and karate-type films ensues, in which some four KNIGHTS are comprehensively killed.] ARTHUR: Run away! Run away! "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/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///