aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_normal.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-15 17:12:59 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-15 17:14:30 +0800
commitb29df57ba7e7e853a3f8082020e7658f468ea826 (patch)
tree1e6f73e04e0eeb89bc836bf9cb234abbcaf5d8ca /test/old/testdir/test_normal.vim
parentf04125a93554103ff6c24f12506050112679a33a (diff)
downloadrneovim-b29df57ba7e7e853a3f8082020e7658f468ea826.tar.gz
rneovim-b29df57ba7e7e853a3f8082020e7658f468ea826.tar.bz2
rneovim-b29df57ba7e7e853a3f8082020e7658f468ea826.zip
vim-patch:8.2.4361: Vim9: some tests fail
Problem: Vim9: some tests fail. Solution: Fix the tests, mostly by removing "s:". https://github.com/vim/vim/commit/62b191c38758c835a577ef091a803b6dd4cd4f49 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_normal.vim')
-rw-r--r--test/old/testdir/test_normal.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_normal.vim b/test/old/testdir/test_normal.vim
index ca91ab2ceb..fe8611d527 100644
--- a/test/old/testdir/test_normal.vim
+++ b/test/old/testdir/test_normal.vim
@@ -732,10 +732,10 @@ func Test_opfunc_callback()
bw!
# Test for using a script-local function name
- def s:LocalOpFunc(type: string): void
+ def LocalOpFunc(type: string): void
g:LocalOpFuncArgs = [type]
enddef
- &opfunc = s:LocalOpFunc
+ &opfunc = LocalOpFunc
g:LocalOpFuncArgs = []
normal! g@l
assert_equal(['char'], g:LocalOpFuncArgs)