mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
vim-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 vim/vim#6728)
fc2a47ffc4
This commit is contained in:
@@ -733,7 +733,7 @@ slang_T *spell_load_file(char_u *fname, char_u *lang, slang_T *old_lp, bool sile
|
||||
if (lp->sl_syllable == NULL) {
|
||||
goto endFAIL;
|
||||
}
|
||||
if (init_syl_tab(lp) == FAIL) {
|
||||
if (init_syl_tab(lp) != OK) {
|
||||
goto endFAIL;
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user