From 6897ce4417a8c4832110e31b252548cb249546ad Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 23 Dec 2020 18:17:30 -0500 Subject: vim-patch:8.2.2197: assert arguments order reversed Problem: Assert arguments order reversed. Solution: Swap the arguments. (Christian Brabandt, closes vim/vim#7531) https://github.com/vim/vim/commit/9f63a65f22b6a899925ba15adbb711e86251114e --- src/nvim/testdir/test_registers.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/testdir/test_registers.vim b/src/nvim/testdir/test_registers.vim index 24e02cb385..2f72b6a4c0 100644 --- a/src/nvim/testdir/test_registers.vim +++ b/src/nvim/testdir/test_registers.vim @@ -259,9 +259,9 @@ func Test_insert_small_delete() call setline(1, ['foo foobar bar']) call cursor(1,1) exe ":norm! ciw'\-'" - 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 -- cgit