Mercurial > vim
changeset 23303:9af15022894c v8.2.2197
patch 8.2.2197: assert arguments order reversed
Commit: https://github.com/vim/vim/commit/9f63a65f22b6a899925ba15adbb711e86251114e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 23 12:50:20 2020 +0100
patch 8.2.2197: assert arguments order reversed
Problem: Assert arguments order reversed.
Solution: Swap the arguments. (Christian Brabandt, closes https://github.com/vim/vim/issues/7531)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Dec 2020 13:00:04 +0100 |
parents | c044ca6b1903 |
children | e438ec7ffd5d |
files | src/testdir/test_registers.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_registers.vim +++ b/src/testdir/test_registers.vim @@ -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