Patch 8.2.2197
Problem: Assert arguments order reversed.
Solution: Swap the arguments. (Christian Brabandt, closes #7531)
Files: src/testdir/test_registers.vim
*** ../vim-8.2.2196/src/testdir/test_registers.vim 2020-12-22 17:59:28.067057967 +0100
--- src/testdir/test_registers.vim 2020-12-23 12:49:41.763230641 +0100
***************
*** 703,711 ****
call setline(1, ['foo foobar bar'])
call cursor(1,1)
exe ":norm! ciw'\<C-R>-'"
! call assert_equal(getline(1), "'foo' foobar bar")
exe ":norm! w.w."
! call assert_equal(getline(1), "'foo' 'foobar' 'bar'")
bwipe!
endfunc
--- 703,711 ----
call setline(1, ['foo foobar bar'])
call cursor(1,1)
exe ":norm! ciw'\<C-R>-'"
! call assert_equal("'foo' foobar bar", getline(1))
exe ":norm! w.w."
! call assert_equal("'foo' 'foobar' 'bar'", getline(1))
bwipe!
endfunc
*** ../vim-8.2.2196/src/version.c 2020-12-23 12:33:37.649652622 +0100
--- src/version.c 2020-12-23 12:50:09.579192421 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2197,
/**/
--
"How is your new girlfriend?"
"90-60-90 man!"
"What, pale purple?"
/// Bram Moolenaar -- Br...@Moolenaar.net --
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 ///