0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.1493: not enough test coverage for the spell file handling

Problem:    Not enough test coverage for the spell file handling.
Solution:   Add spell file tests. (Yegappan Lakshmanan, closes #6728)
This commit is contained in:
Bram Moolenaar
2020-08-20 15:41:55 +02:00
parent 20b23c6358
commit fc2a47ffc4
3 changed files with 289 additions and 99 deletions

View File

@@ -519,7 +519,7 @@ spell_load_file(
lp->sl_syllable = read_string(fd, len); // <syllable>
if (lp->sl_syllable == NULL)
goto endFAIL;
if (init_syl_tab(lp) == FAIL)
if (init_syl_tab(lp) != OK)
goto endFAIL;
break;