summaryrefslogtreecommitdiff
path: root/src/testdir/test_spell_utf8.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_spell_utf8.vim')
-rw-r--r--src/testdir/test_spell_utf8.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_spell_utf8.vim b/src/testdir/test_spell_utf8.vim
index 79dc3e4a4..17fa23555 100644
--- a/src/testdir/test_spell_utf8.vim
+++ b/src/testdir/test_spell_utf8.vim
@@ -780,5 +780,10 @@ func Test_no_crash_with_weird_text()
bwipe!
endfunc
+" Invalid bytes may cause trouble when creating the word list.
+func Test_check_for_valid_word()
+ call assert_fails("spellgood! 0\xac", 'E1280:')
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab