mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
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:
@@ -259,9 +259,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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user