diff src/testdir/test_spell.vim @ 16279:36d97f2a4c2b v8.1.1144

patch 8.1.1144: too strict checking of the 'spellfile' option commit https://github.com/vim/vim/commit/862f1e17eaf2b9c6617dfba31d8487cde462658d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 10 22:33:41 2019 +0200 patch 8.1.1144: too strict checking of the 'spellfile' option Problem: Too strict checking of the 'spellfile' option. Solution: Allow for a path.
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Apr 2019 22:45:05 +0200
parents 5ef25fa57f71
children f38fcbf343ce
line wrap: on
line diff
--- a/src/testdir/test_spell.vim
+++ b/src/testdir/test_spell.vim
@@ -376,6 +376,11 @@ func Test_zz_sal_and_addition()
   call assert_equal("elekwint", SecondSpellWord())
 endfunc
 
+func Test_spellfile_value()
+  set spellfile=Xdir/Xtest.latin1.add
+  set spellfile=Xdir/Xtest.utf-8.add,Xtest_other.add
+endfunc
+
 func Test_region_error()
   messages clear
   call writefile(["/regions=usgbnz", "elequint/0"], "Xtest.latin1.add")