aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-06-06 23:31:29 +0800
committerGitHub <noreply@github.com>2023-06-06 23:31:29 +0800
commit9d9af4fe2775a2f74cfc8d7963f0cc768ed08bfa (patch)
tree562d3483e56b1e87b0146925e7a34819331e1084 /test
parentc48b1421af28d0317c807bca00c7e2fff97d9ad0 (diff)
downloadrneovim-9d9af4fe2775a2f74cfc8d7963f0cc768ed08bfa.tar.gz
rneovim-9d9af4fe2775a2f74cfc8d7963f0cc768ed08bfa.tar.bz2
rneovim-9d9af4fe2775a2f74cfc8d7963f0cc768ed08bfa.zip
vim-patch:9.0.1614: strlen() called too often for :spellrepall (#23940)
Problem: strlen() called too often for :spellrepall. Solution: Store the result in a variable. (closes vim/vim#12497) https://github.com/vim/vim/commit/59f7038536a370d771758dc34036cc1424be7421
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_spell.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_spell.vim b/test/old/testdir/test_spell.vim
index 59b433d6e1..7576e57c3f 100644
--- a/test/old/testdir/test_spell.vim
+++ b/test/old/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:')