Mercurial > vim
comparison src/testdir/test_normal.vim @ 27671:19367412787c v8.2.4361
patch 8.2.4361: Vim9: some tests fail
Commit: https://github.com/vim/vim/commit/62b191c38758c835a577ef091a803b6dd4cd4f49
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 12 20:34:50 2022 +0000
patch 8.2.4361: Vim9: some tests fail
Problem: Vim9: some tests fail.
Solution: Fix the tests, mostly by removing "s:".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 12 Feb 2022 21:45:03 +0100 |
parents | 4c16acb2525f |
children | aa533dc41223 |
comparison
equal
deleted
inserted
replaced
27670:72530a5db401 | 27671:19367412787c |
---|---|
682 normal! g@l | 682 normal! g@l |
683 assert_equal(['char'], g:OpFunc2Args) | 683 assert_equal(['char'], g:OpFunc2Args) |
684 bw! | 684 bw! |
685 | 685 |
686 # Test for using a script-local function name | 686 # Test for using a script-local function name |
687 def s:LocalOpFunc(type: string): void | 687 def LocalOpFunc(type: string): void |
688 g:LocalOpFuncArgs = [type] | 688 g:LocalOpFuncArgs = [type] |
689 enddef | 689 enddef |
690 &opfunc = s:LocalOpFunc | 690 &opfunc = LocalOpFunc |
691 g:LocalOpFuncArgs = [] | 691 g:LocalOpFuncArgs = [] |
692 normal! g@l | 692 normal! g@l |
693 assert_equal(['char'], g:LocalOpFuncArgs) | 693 assert_equal(['char'], g:LocalOpFuncArgs) |
694 bw! | 694 bw! |
695 END | 695 END |