diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-07-18 06:35:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-18 06:35:56 +0800 |
| commit | 8634ec3827a52a0339c98103c278973382e96267 (patch) | |
| tree | 7bfcb7a0cc38e6a2473f8c21ce58d4dd6b828276 /test/old/testdir/test_spell.vim | |
| parent | e29f245a10821fcce454f7ede684aa0dd64efc33 (diff) | |
| parent | 457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52 (diff) | |
| download | rneovim-8634ec3827a52a0339c98103c278973382e96267.tar.gz rneovim-8634ec3827a52a0339c98103c278973382e96267.tar.bz2 rneovim-8634ec3827a52a0339c98103c278973382e96267.zip | |
Merge pull request #29774 from zeertzjq/vim-9.0.1257
vim-patch:9.0.{partial:0719,1257}
Diffstat (limited to 'test/old/testdir/test_spell.vim')
| -rw-r--r-- | test/old/testdir/test_spell.vim | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/old/testdir/test_spell.vim b/test/old/testdir/test_spell.vim index 643744d817..bdd8a673fd 100644 --- a/test/old/testdir/test_spell.vim +++ b/test/old/testdir/test_spell.vim @@ -812,8 +812,8 @@ func Test_zz_sal_and_addition() throw 'skipped: Nvim does not support enc=latin1' set enc=latin1 set spellfile= - call writefile(g:test_data_dic1, "Xtest.dic") - call writefile(g:test_data_aff_sal, "Xtest.aff") + call writefile(g:test_data_dic1, "Xtest.dic", 'D') + call writefile(g:test_data_aff_sal, "Xtest.aff", 'D') mkspell! Xtest Xtest set spl=Xtest.latin1.spl spell call assert_equal('kbltykk', soundfold('goobledygoook')) @@ -821,7 +821,7 @@ func Test_zz_sal_and_addition() call assert_equal('*fls kswts tl', soundfold('oeverloos gezwets edale')) "also use an addition file - call writefile(["/regions=usgbnz", "elequint/2", "elekwint/3"], "Xtest.latin1.add") + call writefile(["/regions=usgbnz", "elequint/2", "elekwint/3"], "Xtest.latin1.add", 'D') mkspell! Xtest.latin1.add.spl Xtest.latin1.add bwipe! @@ -858,10 +858,9 @@ endfunc func Test_region_error() messages clear - call writefile(["/regions=usgbnz", "elequint/0"], "Xtest.latin1.add") + call writefile(["/regions=usgbnz", "elequint/0"], "Xtest.latin1.add", 'D') mkspell! Xtest.latin1.add.spl Xtest.latin1.add call assert_match('Invalid region nr in Xtest.latin1.add line 2: 0', execute('messages')) - call delete('Xtest.latin1.add') call delete('Xtest.latin1.add.spl') endfunc |