diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-06 15:59:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-06-06 15:59:59 +0100 |
commit | 59f7038536a370d771758dc34036cc1424be7421 (patch) | |
tree | f964f1fa39c46c7efc63f2518c4074a6bda011d0 /src/testdir/test_spell.vim | |
parent | d1911a8e2b1498f0cb0275a98f63dd212204a1a8 (diff) |
patch 9.0.1614: strlen() called too often for :spellrepallv9.0.1614
Problem: strlen() called too often for :spellrepall.
Solution: Store the result in a variable. (closes #12497)
Diffstat (limited to 'src/testdir/test_spell.vim')
-rw-r--r-- | src/testdir/test_spell.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_spell.vim b/src/testdir/test_spell.vim index a42d4c7e98..3f7b028bcb 100644 --- a/src/testdir/test_spell.vim +++ b/src/testdir/test_spell.vim @@ -281,7 +281,7 @@ func Test_compl_with_CTRL_X_CTRL_K_using_spell() set spell& spelllang& dictionary& ignorecase& endfunc -func Test_spellreall() +func Test_spellrepall() new set spell call assert_fails('spellrepall', 'E752:') |