diff options
| author | Bram Moolenaar <Bram@vim.org> | 2022-02-12 20:34:50 +0000 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2022-02-12 20:34:50 +0000 |
| commit | 62b191c38758c835a577ef091a803b6dd4cd4f49 (patch) | |
| tree | 1d7fdccfcddfd140e70de5ff90e7f07451c77f3a /src/testdir/test_normal.vim | |
| parent | a749a42ed25534c88c636e5ab6603f1f97b857a4 (diff) | |
| download | vim-git-8.2.4361.tar.gz | |
patch 8.2.4361: Vim9: some tests failv8.2.4361
Problem: Vim9: some tests fail.
Solution: Fix the tests, mostly by removing "s:".
Diffstat (limited to 'src/testdir/test_normal.vim')
| -rw-r--r-- | src/testdir/test_normal.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index 2ed6a80df..cd987ab3d 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -684,10 +684,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) |
