Patch 8.2.1043
Problem: %a item in 'statusline' not tested.
Solution: Add a test. (Dominique Pellé, closes #6318)
Files: src/testdir/test_statusline.vim
*** ../vim-8.2.1042/src/testdir/test_statusline.vim 2020-04-08
21:50:18.876619651 +0200
--- src/testdir/test_statusline.vim 2020-06-23 19:59:08.507131499 +0200
***************
*** 64,70 ****
func Test_statusline()
CheckFeature quickfix
! new Xstatusline
only
set laststatus=2
set splitbelow
--- 64,80 ----
func Test_statusline()
CheckFeature quickfix
! " %a: Argument list ({current} of {max})
! set statusline=%a
! call assert_match('^\s*$', s:get_statusline())
! arglocal a1 a2
! rewind
! call assert_match('^ (1 of 2)\s*$', s:get_statusline())
! next
! call assert_match('^ (2 of 2)\s*$', s:get_statusline())
! e Xstatusline
! call assert_match('^ ((2) of 2)\s*$', s:get_statusline())
!
only
set laststatus=2
set splitbelow
*** ../vim-8.2.1042/src/version.c 2020-06-22 23:02:14.773942551 +0200
--- src/version.c 2020-06-23 20:00:09.158923096 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1043,
/**/
--
Permission is granted to read this message out aloud on Kings Cross Road,
London, under the condition that the orator is properly dressed.
/// 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/202006231801.05NI1Nxn1731724%40masaka.moolenaar.net.