Skip to content

Commit fc2a47f

Browse files
committed
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)
1 parent 20b23c6 commit fc2a47f

3 files changed

Lines changed: 278 additions & 88 deletions

File tree

src/spellfile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ spell_load_file(
519519
lp->sl_syllable = read_string(fd, len); // <syllable>
520520
if (lp->sl_syllable == NULL)
521521
goto endFAIL;
522-
if (init_syl_tab(lp) == FAIL)
522+
if (init_syl_tab(lp) != OK)
523523
goto endFAIL;
524524
break;
525525

0 commit comments

Comments
 (0)