mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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 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
|
||||
|
||||
|
Reference in New Issue
Block a user