aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_spell_utf8.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-04 11:13:19 +0800
committerGitHub <noreply@github.com>2022-07-04 11:13:19 +0800
commitf075feee3258d15f6549e33c185f6165f9c7fbfc (patch)
tree749fe579f2987a6da072e912f2b08a06c1bc4761 /src/nvim/testdir/test_spell_utf8.vim
parentacb7a902812a064fced5ef7d389bd94cb45764bb (diff)
parent6b474d0237a1ec9b5b027e5d1fb738be38a57347 (diff)
downloadrneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.tar.gz
rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.tar.bz2
rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.zip
Merge pull request #19220 from zeertzjq/vim-8.2.1470
vim-patch:8.2.{1470,1493,1522,1523,1770,5072,5074}: spell patches
Diffstat (limited to 'src/nvim/testdir/test_spell_utf8.vim')
-rw-r--r--src/nvim/testdir/test_spell_utf8.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_spell_utf8.vim b/src/nvim/testdir/test_spell_utf8.vim
index 3d240a8f2c..2fd176557d 100644
--- a/src/nvim/testdir/test_spell_utf8.vim
+++ b/src/nvim/testdir/test_spell_utf8.vim
@@ -808,5 +808,18 @@ func Test_word_index()
call delete('Xtmpfile')
endfunc
+func Test_check_empty_line()
+ " This was using freed memory
+ enew
+ spellgood! fl
+ norm z=
+ norm yy
+ sil! norm P]svc
+ norm P]s
+
+ " TODO: should we clear the word list?
+ bwipe!
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab