Patch 8.1.1764
Problem: ":browse oldfiles" is not tested.
Solution: Add a test.
Files: src/testdir/test_viminfo.vim
*** ../vim-8.1.1763/src/testdir/test_viminfo.vim 2019-07-22
20:50:14.215964267 +0200
--- src/testdir/test_viminfo.vim 2019-07-27 23:25:42.555439209 +0200
***************
*** 537,540 ****
--- 537,546 ----
call assert_equal(['1: /tmp/file_one.txt', '2: /tmp/file_two.txt', '3:
/tmp/another.txt'], filter(split(execute('oldfiles'), "\n"), {i, v -> v =~
'/tmp/'}))
call assert_equal(['1: /tmp/file_one.txt', '2: /tmp/file_two.txt'],
filter(split(execute('filter file_ oldfiles'), "\n"), {i, v -> v =~ '/tmp/'}))
call assert_equal(['3: /tmp/another.txt'], filter(split(execute('filter
/another/ oldfiles'), "\n"), {i, v -> v =~ '/tmp/'}))
+
+ new
+ call feedkeys("3\<CR>", 't')
+ browse oldfiles
+ call assert_equal("/tmp/another.txt", expand("%"))
+ bwipe
endfunc
*** ../vim-8.1.1763/src/version.c 2019-07-27 23:12:08.667924110 +0200
--- src/version.c 2019-07-27 23:27:12.426961854 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1764,
/**/
--
ALL: A witch! A witch!
WITCH: It's a fair cop.
ALL: Burn her! Burn her! Let's make her into a ladder.
"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/201907272128.x6RLSBJ8001394%40masaka.moolenaar.net.