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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/20221019134942.468D71C0792%40moolenaar.net.