vim-patch:8.2.2197: assert arguments order reversed

Problem:    Assert arguments order reversed.
Solution:   Swap the arguments. (Christian Brabandt, closes vim/vim#7531)
9f63a65f22
This commit is contained in:
Jan Edmund Lazo
2020-12-23 18:17:30 -05:00
parent 4dfc5bb2d0
commit 6897ce4417

View File

@@ -259,9 +259,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