Redo this example using a glob reference, since the array ref version
[gitmo/Moose.git] / xt / pod_spell.t
1 use strict;
2 use warnings;
3
4 use Test::Spelling;
5
6 my @stopwords;
7 for (<DATA>) {
8     chomp;
9     push @stopwords, $_
10         unless /\A (?: \# | \s* \z)/msx;    # skip comments, whitespace
11 }
12
13 add_stopwords(@stopwords);
14 set_spell_cmd('aspell list -l en');
15 all_pod_files_spelling_ok;
16
17 __DATA__
18 ## personal names
19 Aankhen
20 Aran
21 autarch
22 chansen
23 chromatic's
24 Debolaz
25 Deltac
26 dexter
27 ewilhelm
28 Goulah
29 gphat
30 groditi
31 jrockway
32 Kinyon's
33 Kogman
34 kolibrie
35 konobi
36 lbr
37 McWhirter
38 merlyn
39 mst
40 nothingmuch
41 Pearcey
42 perigrin
43 phaylon
44 Prather
45 Reis
46 rindolf
47 rlb
48 Rockway
49 Roditi
50 Rolsky
51 Roszatycki
52 sartak
53 Sedlacek
54 Shlomi
55 SL
56 stevan
57 Stevan
58 Vilain
59 wreis
60 Yuval
61
62 ## proper names
63 AOP
64 CLOS
65 cpan
66 CPAN
67 OCaml
68 ohloh
69 SVN
70
71 ## Moose
72 BankAccount
73 BankAccount's
74 BinaryTree
75 BUILDALL
76 BUILDARGS
77 CheckingAccount
78 clearers
79 composable
80 Debuggable
81 DEMOLISHALL
82 hardcode
83 immutabilization
84 immutabilize
85 introspectable
86 metaclass
87 Metaclass
88 METACLASS
89 metaclass's
90 metadata
91 MetaObject
92 metaprogrammer
93 metarole
94 mixins
95 MooseX
96 Num
97 oose
98 PosInt
99 PositiveInt
100 ro
101 rw
102 Str
103 TypeContraints
104
105 ## computerese
106 API
107 APIs
108 Baz
109 datetimes
110 definedness
111 destructor
112 destructors
113 DWIM
114 hashrefs
115 immutabilize
116 immutabilized
117 inline
118 invocant
119 invocant's
120 irc
121 IRC
122 isa
123 login
124 namespace
125 namespaced
126 namespaces
127 namespacing
128 OO
129 OOP
130 ORM
131 overridable
132 parameterizable
133 parameterize
134 parameterized
135 parameterizes
136 pluggable
137 prechecking
138 prepends
139 runtime
140 stacktrace
141 subclassable
142 subtyping
143 TODO
144 unblessed
145 unexport
146 UNIMPORTING
147 Unported
148 unsets
149 unsettable
150 Whitelist
151
152 ## other jargon
153 bey
154 gey
155
156 ## neologisms
157 breakability
158 delegatee
159 hackery
160 wrappee
161
162 ## compound
163 # half-assed
164 assed
165 # role-ish, Ruby-ish, medium-to-large-ish
166 ish
167 # kool-aid
168 kool
169 # pre-5.10
170 pre
171 # vice versa
172 versa
173 lookup
174
175 ## slang
176 C'mon
177 might've
178 Nuff
179
180 ## things that should be in the dictionary, but are not
181 attribute's
182 declaratively
183 everyone's
184 human's
185 initializers
186 newfound
187 reimplements
188 reinitializes
189 specializer
190
191 ## misspelt on purpose
192 emali