diff options
Diffstat (limited to 'src/testdir/test_spellrare.vim')
-rw-r--r-- | src/testdir/test_spellrare.vim | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/testdir/test_spellrare.vim b/src/testdir/test_spellrare.vim index bbb13c27c2..ceb35cbd17 100644 --- a/src/testdir/test_spellrare.vim +++ b/src/testdir/test_spellrare.vim @@ -11,15 +11,15 @@ func Test_spellrareword() " Create a small word list to test that spellbadword('...') " can return ['...', 'rare']. let lines =<< trim END - foo - foobar/? - foobara/? -END - call writefile(lines, 'Xwords', 'D') - - mkspell! Xwords.spl Xwords - set spelllang=Xwords.spl - call assert_equal(['foobar', 'rare'], spellbadword('foo foobar')) + foo + foobar/? + foobara/? + END + call writefile(lines, 'Xwords', 'D') + + mkspell! Xwords.spl Xwords + set spelllang=Xwords.spl + call assert_equal(['foobar', 'rare'], spellbadword('foo foobar')) new call setline(1, ['foo', '', 'foo bar foo bar foobara foo foo foo foobar', '', 'End']) |