patch 8.2.2197: assert arguments order reversed

Problem:    Assert arguments order reversed.
Solution:   Swap the arguments. (Christian Brabandt, closes #7531)
This commit is contained in:
Bram Moolenaar
2020-12-23 12:50:20 +01:00
parent abcbb0e9ad
commit 9f63a65f22
2 changed files with 4 additions and 2 deletions

View File

@ -703,9 +703,9 @@ func Test_insert_small_delete()
call setline(1, ['foo foobar bar'])
call cursor(1,1)
exe ":norm! ciw'\<C-R>-'"
call assert_equal(getline(1), "'foo' foobar bar")
call assert_equal("'foo' foobar bar", getline(1))
exe ":norm! w.w."
call assert_equal(getline(1), "'foo' 'foobar' 'bar'")
call assert_equal("'foo' 'foobar' 'bar'", getline(1))
bwipe!
endfunc

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2197,
/**/
2196,
/**/