To: vim_dev@googlegroups.com Subject: Patch 9.0.0796 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0796 (after 9.0.0794) Problem: Mapping test fails in some situations. Solution: Find the line with the verbose information. Files: src/testdir/test_mapping.vim *** ../vim-9.0.0795/src/testdir/test_mapping.vim 2022-09-29 21:37:19.317641604 +0100 --- src/testdir/test_mapping.vim 2022-10-19 14:47:20.012871809 +0100 *************** *** 478,485 **** \ execute('nmap ,n')->trim()->split("\n")) " verbose map call assert_match("\tLast set from .*/test_mapping.vim line \\d\\+$", ! \ execute('verbose map ,n')->trim()->split("\n")[1]) " character with K_SPECIAL byte in rhs nmap foo … --- 478,489 ---- \ execute('nmap ,n')->trim()->split("\n")) " verbose map + " first line might be "seen modifyOtherKeys" + let lines = execute('verbose map ,n')->trim()->split("\n") + let index = indexof(lines, 'v:val =~ "Last set"') + call assert_inrange(1, 2, index) call assert_match("\tLast set from .*/test_mapping.vim line \\d\\+$", ! \ lines[index]) " character with K_SPECIAL byte in rhs nmap foo … *** ../vim-9.0.0795/src/version.c 2022-10-19 14:02:34.965276573 +0100 --- src/version.c 2022-10-19 14:47:44.964660338 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 796, /**/ -- ERIC IDLE PLAYED: THE DEAD COLLECTOR, MR BINT (A VILLAGE NE'ER-DO -WELL VERY KEEN ON BURNING WITCHES), SIR ROBIN, THE GUARD WHO DOESN'T HICOUGH BUT TRIES TO GET THINGS STRAIGHT, CONCORDE (SIR LAUNCELOT'S TRUSTY STEED), ROGER THE SHRUBBER (A SHRUBBER), BROTHER MAYNARD "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 ///