Debian Codegraph @

xt/author/pod-spell.t

raw
1 use strict;
2 use warnings;
3
4 use Test2::Require::AuthorTesting;
5 use Test2::Require::Module 'Test::Spelling';
6 use Test::Spelling;
7
8 my @stopwords;
9 for (<DATA>) {
10 chomp;
11 push @stopwords, $_
12 unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace
13 }
14
15 print "### adding stopwords @stopwords\n";
16
17 add_stopwords(@stopwords);
18 local $ENV{LC_ALL} = 'C';
19 set_spell_cmd('aspell list -l en');
20 all_pod_files_spelling_ok;
21
22 __DATA__
23 ## personal names
24 binkley
25 Bowden
26 Daly
27 dfs
28 Eryq
29 EXODIST
30 Fergal
31 Glew
32 Granum
33 Oxley
34 Pritikin
35 Schwern
36 Skoll
37 Slaymaker
38 ZeeGee
39 Exodist
40
41 ## proper names
42 Fennec
43 ICal
44 xUnit
45
46 ## test jargon
47 Diag
48 diag
49 isnt
50 subtest
51 subtests
52 testsuite
53 testsuites
54 TODO
55 todo
56 todos
57 untestable
58 EventFacet
59 EventFacets
60 renderers
61 xt
62
63 ## computerese
64 blackbox
65 BUF
66 codeblock
67 combinatorics
68 dir
69 getline
70 getlines
71 getpos
72 Getter
73 getters
74 HashBase
75 heisenbug
76 IPC
77 NBYTES
78 param
79 perlish
80 perl-qa
81 POS
82 predeclaring
83 rebless
84 refactoring
85 refcount
86 Reinitializes
87 SCALARREF
88 setpos
89 Setter
90 SHM
91 sref
92 subevent
93 subevents
94 testability
95 TIEHANDLE
96 tie-ing
97 unoverload
98 VMS
99 vmsperl
100 YESNO
101 ansi
102 html
103 HASHBASE
104 renderer
105 SHBANG
106 JSONL
107 YATH
108 jsonl
109 rc
110 tmpdir
111 utils
112 workdir
113 Postfix
114 env
115 bz
116 bzip
117 preloaded
118 Yath
119 vv
120 PRELOAD
121 yath
122 preloads
123 Preload
124 pPlugin
125 tlib
126 preload
127 loadim
128 preloading
129 shm
130 qvf
131 mem
132 addons
133 argv
134 arrayref
135 backcompat
136 cli
137 cmd
138 daemonize
139 dep
140 dev
141 dirs
142 entrypoint
143 libs
144 params
145 Params
146 parsable
147 pfile
148 sha
149 shbang
150 subref
151 uncompress
152 yaml
153 durations
154 affordance
155
156
157 ## module and class names
158 DepTracer
159 SharedJobSlots
160 TimeTracker
161 timetracker
162 YathUI
163
164
165 ## acronyms and platform names
166 CI
167 UI
168 ENVVAR
169 bsd
170 macos
171
172
173 ## other jargon, slang
174 17th
175 AHHHHHHH
176 Dummy
177 globalest
178 Hmmm
179 cid
180 tid
181 pid
182 SIGINT
183 SIGALRM
184 SIGHUP
185 SIGTERM
186 SIGUSR1
187 SIGUSR2
188 webhook
189 integrations
190 IMMISCIBLE
191 POSTEXIT
192 lff
193 backfill
194 ESYNC
195 muxed
196
197
198 ## option names, flags, and values, from the auto-generated command POD.
199 ## These only appear in a built distribution, not in the source tree.
200 agg
201 api
202 ByRun
203 ByTest
204 dbi
205 depmap
206 Dfoo
207 Dlib
208 Dt
209 io
210 iso
211 msg
212 MyFinder
213 nonsub
214 nytprof
215 pPLUGIN
216 proc
217 procname
218 ps
219 qvfd
220 sharedjobslots
221 speedtag
222 tmp
223 ui
224 yathui
225 YathUIDB
226
227 ## halves of the example git sha in --git-change-base
228 abe
229 df
230
231
232 ## Spelled correctly according to google:
233 recognise
234 recognises
235 judgement
236
237 ## stall diagnostics
238 Ctrl
239 immiscible
240 exec'd
241 ptrace
242 stateful
243 unparseable
244 Yama