annotate src/testdir/test_spell.vim @ 14654:5a384b3806ec v8.1.0340

patch 8.1.0340: no test for :spellinfo commit https://github.com/vim/vim/commit/9049b686121367941bf534c041975938135c7e20 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 31 22:26:53 2018 +0200 patch 8.1.0340: no test for :spellinfo Problem: No test for :spellinfo. Solution: Add a test. (Dominique Pelle, closes https://github.com/vim/vim/issues/3394)
author Christian Brabandt <cb@256bit.org>
date Fri, 31 Aug 2018 22:30:06 +0200
parents ceeeeb6b1fb0
children 2dcaa860e3fc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10950
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Test spell checking
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 if !has('spell')
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 finish
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 endif
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6
11824
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
7 func TearDown()
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
8 set nospell
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
9 call delete('Xtest.aff')
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
10 call delete('Xtest.dic')
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
11 call delete('Xtest.latin1.add')
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
12 call delete('Xtest.latin1.add.spl')
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
13 call delete('Xtest.latin1.spl')
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
14 call delete('Xtest.latin1.sug')
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
15 endfunc
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
16
10950
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 func Test_wrap_search()
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 new
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 call setline(1, ['The', '', 'A plong line with two zpelling mistakes', '', 'End'])
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 set spell wrapscan
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 normal ]s
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 call assert_equal('plong', expand('<cword>'))
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 normal ]s
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
24 call assert_equal('zpelling', expand('<cword>'))
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
25 normal ]s
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26 call assert_equal('plong', expand('<cword>'))
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
27 bwipe!
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
28 set nospell
2297aae8e127 patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
29 endfunc
11394
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
30
13088
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
31 func Test_curswant()
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
32 new
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
33 call setline(1, ['Another plong line', 'abcdefghijklmnopq'])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
34 set spell wrapscan
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
35 normal 0]s
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
36 call assert_equal('plong', expand('<cword>'))
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
37 normal j
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
38 call assert_equal(9, getcurpos()[2])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
39 normal 0[s
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
40 call assert_equal('plong', expand('<cword>'))
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
41 normal j
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
42 call assert_equal(9, getcurpos()[2])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
43
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
44 normal 0]S
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
45 call assert_equal('plong', expand('<cword>'))
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
46 normal j
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
47 call assert_equal(9, getcurpos()[2])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
48 normal 0[S
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
49 call assert_equal('plong', expand('<cword>'))
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
50 normal j
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
51 call assert_equal(9, getcurpos()[2])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
52
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
53 normal 1G0
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
54 call assert_equal('plong', spellbadword()[0])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
55 normal j
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
56 call assert_equal(9, getcurpos()[2])
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
57
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
58 bwipe!
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
59 set nospell
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
60 endfunc
3dd37eec73f0 patch 8.0.1419: cursor column is not updated after ]s
Christian Brabandt <cb@256bit.org>
parents: 12694
diff changeset
61
11394
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
62 func Test_z_equal_on_invalid_utf8_word()
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
63 split
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
64 set spell
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
65 call setline(1, "\xff")
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
66 norm z=
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
67 set nospell
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
68 bwipe!
a2124e9bbb6a patch 8.0.0582: illegal memory access with z= command
Christian Brabandt <cb@256bit.org>
parents: 10950
diff changeset
69 endfunc
11434
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
70
14370
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
71 " Test spellbadword() with argument
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
72 func Test_spellbadword()
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
73 set spell
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
74
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
75 call assert_equal(['bycycle', 'bad'], spellbadword('My bycycle.'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
76 call assert_equal(['another', 'caps'], spellbadword('A sentence. another sentence'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
77
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
78 set spelllang=en
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
79 call assert_equal(['', ''], spellbadword('centre'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
80 call assert_equal(['', ''], spellbadword('center'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
81 set spelllang=en_us
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
82 call assert_equal(['centre', 'local'], spellbadword('centre'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
83 call assert_equal(['', ''], spellbadword('center'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
84 set spelllang=en_gb
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
85 call assert_equal(['', ''], spellbadword('centre'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
86 call assert_equal(['center', 'local'], spellbadword('center'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
87
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
88 " Create a small word list to test that spellbadword('...')
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
89 " can return ['...', 'rare'].
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
90 e Xwords
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
91 insert
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
92 foo
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
93 foobar/?
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
94 .
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
95 w!
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
96 mkspell! Xwords.spl Xwords
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
97 set spelllang=Xwords.spl
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
98 call assert_equal(['foobar', 'rare'], spellbadword('foo foobar'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
99
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
100 " Typo should not be detected without the 'spell' option.
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
101 set spelllang=en_gb nospell
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
102 call assert_equal(['', ''], spellbadword('centre'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
103 call assert_equal(['', ''], spellbadword('My bycycle.'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
104 call assert_equal(['', ''], spellbadword('A sentence. another sentence'))
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
105
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
106 call delete('Xwords.spl')
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
107 call delete('Xwords')
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
108 set spelllang&
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
109 set spell&
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
110 endfunc
ceeeeb6b1fb0 patch 8.1.0200: spellbadword() not tested
Christian Brabandt <cb@256bit.org>
parents: 13088
diff changeset
111
11434
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
112 func Test_spellreall()
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
113 new
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
114 set spell
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
115 call assert_fails('spellrepall', 'E752:')
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
116 call setline(1, ['A speling mistake. The same speling mistake.',
11551
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
117 \ 'Another speling mistake.'])
11434
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
118 call feedkeys(']s1z=', 'tx')
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
119 call assert_equal('A spelling mistake. The same speling mistake.', getline(1))
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
120 call assert_equal('Another speling mistake.', getline(2))
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
121 spellrepall
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
122 call assert_equal('A spelling mistake. The same spelling mistake.', getline(1))
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
123 call assert_equal('Another spelling mistake.', getline(2))
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
124 call assert_fails('spellrepall', 'E753:')
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
125 set spell&
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
126 bwipe!
b3815e491811 patch 8.0.0601: no test coverage for :spellrepall
Christian Brabandt <cb@256bit.org>
parents: 11394
diff changeset
127 endfunc
11551
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
128
14654
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
129 func Test_spellinfo()
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
130 new
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
131
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
132 set enc=latin1 spell spelllang=en
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
133 call assert_match("^\nfile: .*/runtime/spell/en.latin1.spl\n$", execute('spellinfo'))
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
134
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
135 set enc=cp1250 spell spelllang=en
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
136 call assert_match("^\nfile: .*/runtime/spell/en.ascii.spl\n$", execute('spellinfo'))
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
137
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
138 if has('multi_byte')
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
139 set enc=utf-8 spell spelllang=en
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
140 call assert_match("^\nfile: .*/runtime/spell/en.utf-8.spl\n$", execute('spellinfo'))
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
141 endif
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
142
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
143 set enc=latin1 spell spelllang=en_us,en_nz
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
144 call assert_match("^\n" .
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
145 \ "file: .*/runtime/spell/en.latin1.spl\n" .
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
146 \ "file: .*/runtime/spell/en.latin1.spl\n$", execute('spellinfo'))
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
147
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
148 set spell spelllang=
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
149 call assert_fails('spellinfo', 'E756:')
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
150
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
151 set nospell spelllang=en
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
152 call assert_fails('spellinfo', 'E756:')
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
153
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
154 set enc& spell& spelllang&
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
155 bwipe
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
156 endfunc
5a384b3806ec patch 8.1.0340: no test for :spellinfo
Christian Brabandt <cb@256bit.org>
parents: 14370
diff changeset
157
11551
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
158 func Test_zz_basic()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
159 call LoadAffAndDic(g:test_data_aff1, g:test_data_dic1)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
160 call RunGoodBad("wrong OK puts. Test the end",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
161 \ "bad: inputs comment ok Ok. test d\xE9\xF4l end the",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
162 \["Comment", "deol", "d\xE9\xF4r", "input", "OK", "output", "outputs", "outtest", "put", "puts",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
163 \ "test", "testen", "testn", "the end", "uk", "wrong"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
164 \[
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
165 \ ["bad", ["put", "uk", "OK"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
166 \ ["inputs", ["input", "puts", "outputs"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
167 \ ["comment", ["Comment", "outtest", "the end"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
168 \ ["ok", ["OK", "uk", "put"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
169 \ ["Ok", ["OK", "Uk", "Put"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
170 \ ["test", ["Test", "testn", "testen"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
171 \ ["d\xE9\xF4l", ["deol", "d\xE9\xF4r", "test"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
172 \ ["end", ["put", "uk", "test"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
173 \ ["the", ["put", "uk", "test"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
174 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
175 \ )
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
176
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
177 call assert_equal("gebletegek", soundfold('goobledygoook'))
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
178 call assert_equal("kepereneven", soundfold('kóopërÿnôven'))
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
179 call assert_equal("everles gesvets etele", soundfold('oeverloos gezwets edale'))
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
180 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
181
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
182 " Postponed prefixes
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
183 func Test_zz_prefixes()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
184 call LoadAffAndDic(g:test_data_aff2, g:test_data_dic1)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
185 call RunGoodBad("puts",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
186 \ "bad: inputs comment ok Ok end the. test d\xE9\xF4l",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
187 \ ["Comment", "deol", "d\xE9\xF4r", "OK", "put", "input", "output", "puts", "outputs", "test", "outtest", "testen", "testn", "the end", "uk", "wrong"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
188 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
189 \ ["bad", ["put", "uk", "OK"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
190 \ ["inputs", ["input", "puts", "outputs"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
191 \ ["comment", ["Comment"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
192 \ ["ok", ["OK", "uk", "put"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
193 \ ["Ok", ["OK", "Uk", "Put"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
194 \ ["end", ["put", "uk", "deol"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
195 \ ["the", ["put", "uk", "test"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
196 \ ["test", ["Test", "testn", "testen"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
197 \ ["d\xE9\xF4l", ["deol", "d\xE9\xF4r", "test"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
198 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
199 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
200
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
201 "Compound words
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
202 func Test_zz_compound()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
203 call LoadAffAndDic(g:test_data_aff3, g:test_data_dic3)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
204 call RunGoodBad("foo m\xEF foobar foofoobar barfoo barbarfoo",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
205 \ "bad: bar la foom\xEF barm\xEF m\xEFfoo m\xEFbar m\xEFm\xEF lala m\xEFla lam\xEF foola labar",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
206 \ ["foo", "m\xEF"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
207 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
208 \ ["bad", ["foo", "m\xEF"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
209 \ ["bar", ["barfoo", "foobar", "foo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
210 \ ["la", ["m\xEF", "foo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
211 \ ["foom\xEF", ["foo m\xEF", "foo", "foofoo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
212 \ ["barm\xEF", ["barfoo", "m\xEF", "barbar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
213 \ ["m\xEFfoo", ["m\xEF foo", "foo", "foofoo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
214 \ ["m\xEFbar", ["foobar", "barbar", "m\xEF"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
215 \ ["m\xEFm\xEF", ["m\xEF m\xEF", "m\xEF"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
216 \ ["lala", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
217 \ ["m\xEFla", ["m\xEF", "m\xEF m\xEF"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
218 \ ["lam\xEF", ["m\xEF", "m\xEF m\xEF"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
219 \ ["foola", ["foo", "foobar", "foofoo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
220 \ ["labar", ["barbar", "foobar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
221 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
222
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
223 call LoadAffAndDic(g:test_data_aff4, g:test_data_dic4)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
224 call RunGoodBad("word util bork prebork start end wordutil wordutils pro-ok bork borkbork borkborkbork borkborkborkbork borkborkborkborkbork tomato tomatotomato startend startword startwordword startwordend startwordwordend startwordwordwordend prebork preborkbork preborkborkbork nouword",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
225 \ "bad: wordutilize pro borkborkborkborkborkbork tomatotomatotomato endstart endend startstart wordend wordstart preborkprebork preborkpreborkbork startwordwordwordwordend borkpreborkpreborkbork utilsbork startnouword",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
226 \ ["bork", "prebork", "end", "pro-ok", "start", "tomato", "util", "utilize", "utils", "word", "nouword"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
227 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
228 \ ["bad", ["end", "bork", "word"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
229 \ ["wordutilize", ["word utilize", "wordutils", "wordutil"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
230 \ ["pro", ["bork", "word", "end"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
231 \ ["borkborkborkborkborkbork", ["bork borkborkborkborkbork", "borkbork borkborkborkbork", "borkborkbork borkborkbork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
232 \ ["tomatotomatotomato", ["tomato tomatotomato", "tomatotomato tomato", "tomato tomato tomato"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
233 \ ["endstart", ["end start", "start"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
234 \ ["endend", ["end end", "end"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
235 \ ["startstart", ["start start"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
236 \ ["wordend", ["word end", "word", "wordword"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
237 \ ["wordstart", ["word start", "bork start"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
238 \ ["preborkprebork", ["prebork prebork", "preborkbork", "preborkborkbork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
239 \ ["preborkpreborkbork", ["prebork preborkbork", "preborkborkbork", "preborkborkborkbork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
240 \ ["startwordwordwordwordend", ["startwordwordwordword end", "startwordwordwordword", "start wordwordwordword end"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
241 \ ["borkpreborkpreborkbork", ["bork preborkpreborkbork", "bork prebork preborkbork", "bork preborkprebork bork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
242 \ ["utilsbork", ["utilbork", "utils bork", "util bork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
243 \ ["startnouword", ["start nouword", "startword", "startborkword"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
244 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
245
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
246 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
247
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
248 "Test affix flags with two characters
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
249 func Test_zz_affix()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
250 call LoadAffAndDic(g:test_data_aff5, g:test_data_dic5)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
251 call RunGoodBad("fooa1 fooa\xE9 bar prebar barbork prebarbork startprebar start end startend startmiddleend nouend",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
252 \ "bad: foo fooa2 prabar probarbirk middle startmiddle middleend endstart startprobar startnouend",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
253 \ ["bar", "barbork", "end", "fooa1", "fooa\xE9", "nouend", "prebar", "prebarbork", "start"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
254 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
255 \ ["bad", ["bar", "end", "fooa1"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
256 \ ["foo", ["fooa1", "fooa\xE9", "bar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
257 \ ["fooa2", ["fooa1", "fooa\xE9", "bar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
258 \ ["prabar", ["prebar", "bar", "bar bar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
259 \ ["probarbirk", ["prebarbork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
260 \ ["middle", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
261 \ ["startmiddle", ["startmiddleend", "startmiddlebar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
262 \ ["middleend", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
263 \ ["endstart", ["end start", "start"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
264 \ ["startprobar", ["startprebar", "start prebar", "startbar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
265 \ ["startnouend", ["start nouend", "startend"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
266 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
267
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
268 call LoadAffAndDic(g:test_data_aff6, g:test_data_dic6)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
269 call RunGoodBad("meea1 meea\xE9 bar prebar barbork prebarbork leadprebar lead end leadend leadmiddleend",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
270 \ "bad: mee meea2 prabar probarbirk middle leadmiddle middleend endlead leadprobar",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
271 \ ["bar", "barbork", "end", "lead", "meea1", "meea\xE9", "prebar", "prebarbork"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
272 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
273 \ ["bad", ["bar", "end", "lead"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
274 \ ["mee", ["meea1", "meea\xE9", "bar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
275 \ ["meea2", ["meea1", "meea\xE9", "lead"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
276 \ ["prabar", ["prebar", "bar", "leadbar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
277 \ ["probarbirk", ["prebarbork"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
278 \ ["middle", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
279 \ ["leadmiddle", ["leadmiddleend", "leadmiddlebar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
280 \ ["middleend", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
281 \ ["endlead", ["end lead", "lead", "end end"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
282 \ ["leadprobar", ["leadprebar", "lead prebar", "leadbar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
283 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
284
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
285 call LoadAffAndDic(g:test_data_aff7, g:test_data_dic7)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
286 call RunGoodBad("meea1 meea\xE9 bar prebar barmeat prebarmeat leadprebar lead tail leadtail leadmiddletail",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
287 \ "bad: mee meea2 prabar probarmaat middle leadmiddle middletail taillead leadprobar",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
288 \ ["bar", "barmeat", "lead", "meea1", "meea\xE9", "prebar", "prebarmeat", "tail"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
289 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
290 \ ["bad", ["bar", "lead", "tail"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
291 \ ["mee", ["meea1", "meea\xE9", "bar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
292 \ ["meea2", ["meea1", "meea\xE9", "lead"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
293 \ ["prabar", ["prebar", "bar", "leadbar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
294 \ ["probarmaat", ["prebarmeat"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
295 \ ["middle", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
296 \ ["leadmiddle", ["leadmiddlebar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
297 \ ["middletail", []],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
298 \ ["taillead", ["tail lead", "tail"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
299 \ ["leadprobar", ["leadprebar", "lead prebar", "leadbar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
300 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
301 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
302
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
303 func Test_zz_NOSLITSUGS()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
304 call LoadAffAndDic(g:test_data_aff8, g:test_data_dic8)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
305 call RunGoodBad("foo bar faabar", "bad: foobar barfoo",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
306 \ ["bar", "faabar", "foo"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
307 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
308 \ ["bad", ["bar", "foo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
309 \ ["foobar", ["faabar", "foo bar", "bar"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
310 \ ["barfoo", ["bar foo", "bar", "foo"]],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
311 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
312 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
313
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
314 " Numbers
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
315 func Test_zz_Numbers()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
316 call LoadAffAndDic(g:test_data_aff9, g:test_data_dic9)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
317 call RunGoodBad("0b1011 0777 1234 0x01ff", "",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
318 \ ["bar", "foo"],
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
319 \ [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
320 \ ])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
321 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
322
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
323 function FirstSpellWord()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
324 call feedkeys("/^start:\n", 'tx')
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
325 normal ]smm
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
326 let [str, a] = spellbadword()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
327 return str
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
328 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
329
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
330 function SecondSpellWord()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
331 normal `m]s
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
332 let [str, a] = spellbadword()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
333 return str
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
334 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
335
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
336 "Test with SAL instead of SOFO items; test automatic reloading
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
337 func Test_zz_sal_and_addition()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
338 set enc=latin1
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
339 set spellfile=
11824
b276c1e73c27 patch 8.0.0792: spell test leaves files behind
Christian Brabandt <cb@256bit.org>
parents: 11551
diff changeset
340 call writefile(g:test_data_dic1, "Xtest.dic")
11551
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
341 call writefile(g:test_data_aff_sal, "Xtest.aff")
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
342 mkspell! Xtest Xtest
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
343 set spl=Xtest.latin1.spl spell
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
344 call assert_equal('kbltykk', soundfold('goobledygoook'))
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
345 call assert_equal('kprnfn', soundfold('kóopërÿnôven'))
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
346 call assert_equal('*fls kswts tl', soundfold('oeverloos gezwets edale'))
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
347
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
348 "also use an addition file
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
349 call writefile(["/regions=usgbnz", "elequint/2", "elekwint/3"], "Xtest.latin1.add")
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
350 mkspell! Xtest.latin1.add.spl Xtest.latin1.add
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
351
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
352 bwipe!
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
353 call setline(1, ["start: elequint test elekwint test elekwent asdf"])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
354
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
355 set spellfile=Xtest.latin1.add
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
356 call assert_equal("elekwent", FirstSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
357
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
358 set spl=Xtest_us.latin1.spl
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
359 call assert_equal("elequint", FirstSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
360 call assert_equal("elekwint", SecondSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
361
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
362 set spl=Xtest_gb.latin1.spl
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
363 call assert_equal("elekwint", FirstSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
364 call assert_equal("elekwent", SecondSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
365
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
366 set spl=Xtest_nz.latin1.spl
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
367 call assert_equal("elequint", FirstSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
368 call assert_equal("elekwent", SecondSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
369
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
370 set spl=Xtest_ca.latin1.spl
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
371 call assert_equal("elequint", FirstSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
372 call assert_equal("elekwint", SecondSpellWord())
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
373 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
374
12694
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
375 func Test_region_error()
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
376 messages clear
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
377 call writefile(["/regions=usgbnz", "elequint/0"], "Xtest.latin1.add")
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
378 mkspell! Xtest.latin1.add.spl Xtest.latin1.add
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
379 call assert_match('Invalid region nr in Xtest.latin1.add line 2: 0', execute('messages'))
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
380 call delete('Xtest.latin1.add')
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
381 call delete('Xtest.latin1.add.spl')
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
382 endfunc
514c1741ab8c patch 8.0.1225: no check for spell region being zero
Christian Brabandt <cb@256bit.org>
parents: 11824
diff changeset
383
11551
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
384 " Check using z= in new buffer (crash fixed by patch 7.4a.028).
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
385 func Test_zeq_crash()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
386 new
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
387 set maxmem=512 spell
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
388 call feedkeys('iasdz=:\"', 'tx')
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
389
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
390 bwipe!
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
391 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
392
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
393 func LoadAffAndDic(aff_contents, dic_contents)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
394 set enc=latin1
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
395 set spellfile=
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
396 call writefile(a:aff_contents, "Xtest.aff")
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
397 call writefile(a:dic_contents, "Xtest.dic")
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
398 " Generate a .spl file from a .dic and .aff file.
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
399 mkspell! Xtest Xtest
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
400 " use that spell file
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
401 set spl=Xtest.latin1.spl spell
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
402 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
403
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
404 func ListWords()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
405 spelldump
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
406 %yank
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
407 quit
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
408 return split(@", "\n")
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
409 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
410
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
411 func TestGoodBadBase()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
412 exe '1;/^good:'
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
413 normal 0f:]s
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
414 let prevbad = ''
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
415 let result = []
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
416 while 1
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
417 let [bad, a] = spellbadword()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
418 if bad == '' || bad == prevbad || bad == 'badend'
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
419 break
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
420 endif
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
421 let prevbad = bad
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
422 let lst = spellsuggest(bad, 3)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
423 normal mm
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
424
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
425 call add(result, [bad, lst])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
426 normal `m]s
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
427 endwhile
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
428 return result
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
429 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
430
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
431 func RunGoodBad(good, bad, expected_words, expected_bad_words)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
432 bwipe!
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
433 call setline(1, ["good: ", a:good, a:bad, " badend "])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
434 let words = ListWords()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
435 call assert_equal(a:expected_words, words[1:-1])
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
436 let bad_words = TestGoodBadBase()
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
437 call assert_equal(a:expected_bad_words, bad_words)
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
438 bwipe!
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
439 endfunc
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
440
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
441 let g:test_data_aff1 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
442 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
443 \"TRY esianrtolcdugmphbyfvkwjkqxz-\xEB\xE9\xE8\xEA\xEF\xEE\xE4\xE0\xE2\xF6\xFC\xFB'ESIANRTOLCDUGMPHBYFVKWJKQXZ",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
444 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
445 \"FOL \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
446 \"LOW \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
447 \"UPP \xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
448 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
449 \"SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xBF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
450 \"SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
451 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
452 \"MIDWORD\t'-",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
453 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
454 \"KEP =",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
455 \"RAR ?",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
456 \"BAD !",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
457 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
458 \"PFX I N 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
459 \"PFX I 0 in .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
460 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
461 \"PFX O Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
462 \"PFX O 0 out .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
463 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
464 \"SFX S Y 2",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
465 \"SFX S 0 s [^s]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
466 \"SFX S 0 es s",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
467 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
468 \"SFX N N 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
469 \"SFX N 0 en [^n]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
470 \"SFX N 0 nen n",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
471 \"SFX N 0 n .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
472 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
473 \"REP 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
474 \"REP g ch",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
475 \"REP ch g",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
476 \"REP svp s.v.p.",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
477 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
478 \"MAP 9",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
479 \"MAP a\xE0\xE1\xE2\xE3\xE4\xE5",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
480 \"MAP e\xE8\xE9\xEA\xEB",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
481 \"MAP i\xEC\xED\xEE\xEF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
482 \"MAP o\xF2\xF3\xF4\xF5\xF6",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
483 \"MAP u\xF9\xFA\xFB\xFC",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
484 \"MAP n\xF1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
485 \"MAP c\xE7",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
486 \"MAP y\xFF\xFD",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
487 \"MAP s\xDF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
488 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
489 let g:test_data_dic1 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
490 \"123456",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
491 \"test/NO",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
492 \"# comment",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
493 \"wrong",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
494 \"Comment",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
495 \"OK",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
496 \"uk",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
497 \"put/ISO",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
498 \"the end",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
499 \"deol",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
500 \"d\xE9\xF4r",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
501 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
502 let g:test_data_aff2 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
503 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
504 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
505 \"FOL \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
506 \"LOW \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
507 \"UPP \xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
508 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
509 \"PFXPOSTPONE",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
510 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
511 \"MIDWORD\t'-",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
512 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
513 \"KEP =",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
514 \"RAR ?",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
515 \"BAD !",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
516 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
517 \"PFX I N 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
518 \"PFX I 0 in .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
519 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
520 \"PFX O Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
521 \"PFX O 0 out [a-z]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
522 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
523 \"SFX S Y 2",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
524 \"SFX S 0 s [^s]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
525 \"SFX S 0 es s",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
526 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
527 \"SFX N N 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
528 \"SFX N 0 en [^n]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
529 \"SFX N 0 nen n",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
530 \"SFX N 0 n .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
531 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
532 \"REP 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
533 \"REP g ch",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
534 \"REP ch g",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
535 \"REP svp s.v.p.",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
536 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
537 \"MAP 9",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
538 \"MAP a\xE0\xE1\xE2\xE3\xE4\xE5",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
539 \"MAP e\xE8\xE9\xEA\xEB",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
540 \"MAP i\xEC\xED\xEE\xEF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
541 \"MAP o\xF2\xF3\xF4\xF5\xF6",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
542 \"MAP u\xF9\xFA\xFB\xFC",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
543 \"MAP n\xF1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
544 \"MAP c\xE7",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
545 \"MAP y\xFF\xFD",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
546 \"MAP s\xDF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
547 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
548 let g:test_data_aff3 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
549 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
550 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
551 \"COMPOUNDMIN 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
552 \"COMPOUNDRULE m*",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
553 \"NEEDCOMPOUND x",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
554 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
555 let g:test_data_dic3 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
556 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
557 \"foo/m",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
558 \"bar/mx",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
559 \"m\xEF/m",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
560 \"la/mx",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
561 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
562 let g:test_data_aff4 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
563 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
564 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
565 \"FOL \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
566 \"LOW \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
567 \"UPP \xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
568 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
569 \"COMPOUNDRULE m+",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
570 \"COMPOUNDRULE sm*e",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
571 \"COMPOUNDRULE sm+",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
572 \"COMPOUNDMIN 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
573 \"COMPOUNDWORDMAX 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
574 \"COMPOUNDFORBIDFLAG t",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
575 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
576 \"COMPOUNDSYLMAX 5",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
577 \"SYLLABLE a\xE1e\xE9i\xEDo\xF3\xF6\xF5u\xFA\xFC\xFBy/aa/au/ea/ee/ei/ie/oa/oe/oo/ou/uu/ui",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
578 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
579 \"MAP 9",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
580 \"MAP a\xE0\xE1\xE2\xE3\xE4\xE5",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
581 \"MAP e\xE8\xE9\xEA\xEB",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
582 \"MAP i\xEC\xED\xEE\xEF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
583 \"MAP o\xF2\xF3\xF4\xF5\xF6",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
584 \"MAP u\xF9\xFA\xFB\xFC",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
585 \"MAP n\xF1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
586 \"MAP c\xE7",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
587 \"MAP y\xFF\xFD",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
588 \"MAP s\xDF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
589 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
590 \"NEEDAFFIX x",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
591 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
592 \"PFXPOSTPONE",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
593 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
594 \"MIDWORD '-",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
595 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
596 \"SFX q N 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
597 \"SFX q 0 -ok .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
598 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
599 \"SFX a Y 2",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
600 \"SFX a 0 s .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
601 \"SFX a 0 ize/t .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
602 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
603 \"PFX p N 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
604 \"PFX p 0 pre .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
605 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
606 \"PFX P N 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
607 \"PFX P 0 nou .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
608 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
609 let g:test_data_dic4 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
610 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
611 \"word/mP",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
612 \"util/am",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
613 \"pro/xq",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
614 \"tomato/m",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
615 \"bork/mp",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
616 \"start/s",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
617 \"end/e",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
618 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
619 let g:test_data_aff5 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
620 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
621 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
622 \"FLAG long",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
623 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
624 \"NEEDAFFIX !!",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
625 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
626 \"COMPOUNDRULE ssmm*ee",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
627 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
628 \"NEEDCOMPOUND xx",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
629 \"COMPOUNDPERMITFLAG pp",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
630 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
631 \"SFX 13 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
632 \"SFX 13 0 bork .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
633 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
634 \"SFX a1 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
635 \"SFX a1 0 a1 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
636 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
637 \"SFX a\xE9 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
638 \"SFX a\xE9 0 a\xE9 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
639 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
640 \"PFX zz Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
641 \"PFX zz 0 pre/pp .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
642 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
643 \"PFX yy Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
644 \"PFX yy 0 nou .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
645 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
646 let g:test_data_dic5 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
647 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
648 \"foo/a1a\xE9!!",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
649 \"bar/zz13ee",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
650 \"start/ss",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
651 \"end/eeyy",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
652 \"middle/mmxx",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
653 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
654 let g:test_data_aff6 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
655 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
656 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
657 \"FLAG caplong",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
658 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
659 \"NEEDAFFIX A!",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
660 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
661 \"COMPOUNDRULE sMm*Ee",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
662 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
663 \"NEEDCOMPOUND Xx",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
664 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
665 \"COMPOUNDPERMITFLAG p",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
666 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
667 \"SFX N3 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
668 \"SFX N3 0 bork .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
669 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
670 \"SFX A1 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
671 \"SFX A1 0 a1 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
672 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
673 \"SFX A\xE9 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
674 \"SFX A\xE9 0 a\xE9 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
675 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
676 \"PFX Zz Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
677 \"PFX Zz 0 pre/p .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
678 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
679 let g:test_data_dic6 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
680 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
681 \"mee/A1A\xE9A!",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
682 \"bar/ZzN3Ee",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
683 \"lead/s",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
684 \"end/Ee",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
685 \"middle/MmXx",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
686 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
687 let g:test_data_aff7 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
688 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
689 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
690 \"FLAG num",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
691 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
692 \"NEEDAFFIX 9999",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
693 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
694 \"COMPOUNDRULE 2,77*123",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
695 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
696 \"NEEDCOMPOUND 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
697 \"COMPOUNDPERMITFLAG 432",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
698 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
699 \"SFX 61003 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
700 \"SFX 61003 0 meat .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
701 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
702 \"SFX 391 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
703 \"SFX 391 0 a1 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
704 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
705 \"SFX 111 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
706 \"SFX 111 0 a\xE9 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
707 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
708 \"PFX 17 Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
709 \"PFX 17 0 pre/432 .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
710 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
711 let g:test_data_dic7 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
712 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
713 \"mee/391,111,9999",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
714 \"bar/17,61003,123",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
715 \"lead/2",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
716 \"tail/123",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
717 \"middle/77,1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
718 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
719 let g:test_data_aff8 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
720 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
721 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
722 \"NOSPLITSUGS",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
723 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
724 let g:test_data_dic8 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
725 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
726 \"foo",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
727 \"bar",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
728 \"faabar",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
729 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
730 let g:test_data_aff9 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
731 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
732 let g:test_data_dic9 = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
733 \"1234",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
734 \"foo",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
735 \"bar",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
736 \ ]
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
737 let g:test_data_aff_sal = [
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
738 \"SET ISO8859-1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
739 \"TRY esianrtolcdugmphbyfvkwjkqxz-\xEB\xE9\xE8\xEA\xEF\xEE\xE4\xE0\xE2\xF6\xFC\xFB'ESIANRTOLCDUGMPHBYFVKWJKQXZ",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
740 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
741 \"FOL \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
742 \"LOW \xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
743 \"UPP \xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xFF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
744 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
745 \"MIDWORD\t'-",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
746 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
747 \"KEP =",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
748 \"RAR ?",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
749 \"BAD !",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
750 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
751 \"PFX I N 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
752 \"PFX I 0 in .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
753 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
754 \"PFX O Y 1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
755 \"PFX O 0 out .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
756 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
757 \"SFX S Y 2",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
758 \"SFX S 0 s [^s]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
759 \"SFX S 0 es s",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
760 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
761 \"SFX N N 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
762 \"SFX N 0 en [^n]",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
763 \"SFX N 0 nen n",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
764 \"SFX N 0 n .",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
765 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
766 \"REP 3",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
767 \"REP g ch",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
768 \"REP ch g",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
769 \"REP svp s.v.p.",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
770 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
771 \"MAP 9",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
772 \"MAP a\xE0\xE1\xE2\xE3\xE4\xE5",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
773 \"MAP e\xE8\xE9\xEA\xEB",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
774 \"MAP i\xEC\xED\xEE\xEF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
775 \"MAP o\xF2\xF3\xF4\xF5\xF6",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
776 \"MAP u\xF9\xFA\xFB\xFC",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
777 \"MAP n\xF1",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
778 \"MAP c\xE7",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
779 \"MAP y\xFF\xFD",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
780 \"MAP s\xDF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
781 \"",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
782 \"SAL AH(AEIOUY)-^ *H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
783 \"SAL AR(AEIOUY)-^ *R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
784 \"SAL A(HR)^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
785 \"SAL A^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
786 \"SAL AH(AEIOUY)- H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
787 \"SAL AR(AEIOUY)- R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
788 \"SAL A(HR) _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
789 \"SAL \xC0^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
790 \"SAL \xC5^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
791 \"SAL BB- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
792 \"SAL B B",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
793 \"SAL CQ- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
794 \"SAL CIA X",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
795 \"SAL CH X",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
796 \"SAL C(EIY)- S",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
797 \"SAL CK K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
798 \"SAL COUGH^ KF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
799 \"SAL CC< C",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
800 \"SAL C K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
801 \"SAL DG(EIY) K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
802 \"SAL DD- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
803 \"SAL D T",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
804 \"SAL \xC9< E",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
805 \"SAL EH(AEIOUY)-^ *H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
806 \"SAL ER(AEIOUY)-^ *R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
807 \"SAL E(HR)^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
808 \"SAL ENOUGH^$ *NF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
809 \"SAL E^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
810 \"SAL EH(AEIOUY)- H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
811 \"SAL ER(AEIOUY)- R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
812 \"SAL E(HR) _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
813 \"SAL FF- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
814 \"SAL F F",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
815 \"SAL GN^ N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
816 \"SAL GN$ N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
817 \"SAL GNS$ NS",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
818 \"SAL GNED$ N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
819 \"SAL GH(AEIOUY)- K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
820 \"SAL GH _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
821 \"SAL GG9 K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
822 \"SAL G K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
823 \"SAL H H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
824 \"SAL IH(AEIOUY)-^ *H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
825 \"SAL IR(AEIOUY)-^ *R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
826 \"SAL I(HR)^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
827 \"SAL I^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
828 \"SAL ING6 N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
829 \"SAL IH(AEIOUY)- H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
830 \"SAL IR(AEIOUY)- R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
831 \"SAL I(HR) _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
832 \"SAL J K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
833 \"SAL KN^ N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
834 \"SAL KK- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
835 \"SAL K K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
836 \"SAL LAUGH^ LF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
837 \"SAL LL- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
838 \"SAL L L",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
839 \"SAL MB$ M",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
840 \"SAL MM M",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
841 \"SAL M M",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
842 \"SAL NN- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
843 \"SAL N N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
844 \"SAL OH(AEIOUY)-^ *H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
845 \"SAL OR(AEIOUY)-^ *R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
846 \"SAL O(HR)^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
847 \"SAL O^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
848 \"SAL OH(AEIOUY)- H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
849 \"SAL OR(AEIOUY)- R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
850 \"SAL O(HR) _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
851 \"SAL PH F",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
852 \"SAL PN^ N",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
853 \"SAL PP- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
854 \"SAL P P",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
855 \"SAL Q K",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
856 \"SAL RH^ R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
857 \"SAL ROUGH^ RF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
858 \"SAL RR- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
859 \"SAL R R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
860 \"SAL SCH(EOU)- SK",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
861 \"SAL SC(IEY)- S",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
862 \"SAL SH X",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
863 \"SAL SI(AO)- X",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
864 \"SAL SS- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
865 \"SAL S S",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
866 \"SAL TI(AO)- X",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
867 \"SAL TH @",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
868 \"SAL TCH-- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
869 \"SAL TOUGH^ TF",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
870 \"SAL TT- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
871 \"SAL T T",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
872 \"SAL UH(AEIOUY)-^ *H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
873 \"SAL UR(AEIOUY)-^ *R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
874 \"SAL U(HR)^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
875 \"SAL U^ *",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
876 \"SAL UH(AEIOUY)- H",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
877 \"SAL UR(AEIOUY)- R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
878 \"SAL U(HR) _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
879 \"SAL V^ W",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
880 \"SAL V F",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
881 \"SAL WR^ R",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
882 \"SAL WH^ W",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
883 \"SAL W(AEIOU)- W",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
884 \"SAL X^ S",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
885 \"SAL X KS",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
886 \"SAL Y(AEIOU)- Y",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
887 \"SAL ZZ- _",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
888 \"SAL Z S",
7798e9bcdb13 patch 8.0.0658: spell test is old style
Christian Brabandt <cb@256bit.org>
parents: 11434
diff changeset
889 \ ]