aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-23 18:17:30 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-24 09:18:33 -0500
commit6897ce4417a8c4832110e31b252548cb249546ad (patch)
tree26273bfd64f9a02e64ecf804b46ecf1dc540f99b
parent4dfc5bb2d0464c5775ea9f1b0240bf7a8f53b709 (diff)
downloadrneovim-6897ce4417a8c4832110e31b252548cb249546ad.tar.gz
rneovim-6897ce4417a8c4832110e31b252548cb249546ad.tar.bz2
rneovim-6897ce4417a8c4832110e31b252548cb249546ad.zip
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
-rw-r--r--src/nvim/testdir/test_registers.vim4
1 files changed, 2 insertions, 2 deletions
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'\<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