forked from aniani/vim
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:
@@ -703,9 +703,9 @@ func Test_insert_small_delete()
|
|||||||
call setline(1, ['foo foobar bar'])
|
call setline(1, ['foo foobar bar'])
|
||||||
call cursor(1,1)
|
call cursor(1,1)
|
||||||
exe ":norm! ciw'\<C-R>-'"
|
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."
|
exe ":norm! w.w."
|
||||||
call assert_equal(getline(1), "'foo' 'foobar' 'bar'")
|
call assert_equal("'foo' 'foobar' 'bar'", getline(1))
|
||||||
bwipe!
|
bwipe!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2197,
|
||||||
/**/
|
/**/
|
||||||
2196,
|
2196,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user