diff options
Diffstat (limited to 'src/nvim/testdir/test_spell_utf8.vim')
-rw-r--r-- | src/nvim/testdir/test_spell_utf8.vim | 13 |
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 |