Mercurial > vim
comparison src/testdir/test_spell.vim @ 22220:37ad27fa22e7 v8.2.1659
patch 8.2.1659: spellfile code not completely tested
Commit: https://github.com/vim/vim/commit/96fdf4348a50cdbe6b8f18ccb4806ba5b190989e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 11 18:11:50 2020 +0200
patch 8.2.1659: spellfile code not completely tested
Problem: Spellfile code not completely tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6929)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Sep 2020 18:15:03 +0200 |
parents | 6a4806e326dd |
children | 89277634be10 |
comparison
equal
deleted
inserted
replaced
22219:bd1e01648732 | 22220:37ad27fa22e7 |
---|---|
110 call assert_equal(['bycycle', 'bad'], spellbadword('My bycycle.')) | 110 call assert_equal(['bycycle', 'bad'], spellbadword('My bycycle.')) |
111 call assert_equal(['another', 'caps'], spellbadword('A sentence. another sentence')) | 111 call assert_equal(['another', 'caps'], spellbadword('A sentence. another sentence')) |
112 | 112 |
113 set spelllang= | 113 set spelllang= |
114 call assert_fails("call spellbadword('maxch')", 'E756:') | 114 call assert_fails("call spellbadword('maxch')", 'E756:') |
115 call assert_fails("spelldump", 'E756:') | |
115 | 116 |
116 call delete('Xwords.spl') | 117 call delete('Xwords.spl') |
117 call delete('Xwords') | 118 call delete('Xwords') |
118 set spelllang& | 119 set spelllang& |
119 set spell& | 120 set spell& |