diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_spellfile.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/old/testdir/test_spellfile.vim b/test/old/testdir/test_spellfile.vim index 639ebc1c34..4d2a6cf35f 100644 --- a/test/old/testdir/test_spellfile.vim +++ b/test/old/testdir/test_spellfile.vim @@ -1071,4 +1071,16 @@ func Test_spellfile_allow_at_character() call delete('Xtest', 'rf') endfunc +" this was using a NULL pointer +func Test_mkspell_empty_dic() + call writefile(['1'], 'XtestEmpty.dic') + call writefile(['SOFOFROM abcd', 'SOFOTO ABCD', 'SAL CIA X'], 'XtestEmpty.aff') + mkspell! XtestEmpty.spl XtestEmpty + + call delete('XtestEmpty.dic') + call delete('XtestEmpty.aff') + call delete('XtestEmpty.spl') +endfunc + + " vim: shiftwidth=2 sts=2 expandtab |