comparison src/testdir/test_maparg.vim @ 22147:d55008685870 v8.2.1623

patch 8.2.1623: Vim9: using :call where it is not needed Commit: https://github.com/vim/vim/commit/d2c617055ac8ff6ff244f69e23dce1f73741c5ad Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 6 15:58:36 2020 +0200 patch 8.2.1623: Vim9: using :call where it is not needed Problem: Vim9: using :call where it is not needed. Solution: Remove :call. (closes https://github.com/vim/vim/issues/6892)
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Sep 2020 16:00:05 +0200
parents f27187782dc6
children 166a0f17b05e
comparison
equal deleted inserted replaced
22146:e8ce05d1dd3e 22147:d55008685870
88 let two: string = maparg('{', 'n') 88 let two: string = maparg('{', 'n')
89 assert_equal('w', two) 89 assert_equal('w', two)
90 let three: string = maparg('{', 'n', 0) 90 let three: string = maparg('{', 'n', 0)
91 assert_equal('w', three) 91 assert_equal('w', three)
92 let four: dict<any> = maparg('{', 'n', 0, 1) 92 let four: dict<any> = maparg('{', 'n', 0, 1)
93 call assert_equal(['{', 'w', 'n'], [four.lhs, four.rhs, four.mode]) 93 assert_equal(['{', 'w', 'n'], [four.lhs, four.rhs, four.mode])
94 nunmap { 94 nunmap {
95 enddef 95 enddef
96 96
97 func Test_mapcheck() 97 func Test_mapcheck()
98 call assert_equal('', mapcheck('a')) 98 call assert_equal('', mapcheck('a'))