Add pod spelling test
[catagits/Catalyst-Action-REST.git] / xt / pod-spell.t
1 use strict;
2 use warnings;
3
4 use Test::More;
5
6 eval "use Test::Spelling";
7 plan skip_all => "Test::Spelling required for testing POD coverage"
8     if $@;
9
10 my @stopwords;
11 for (<DATA>) {
12     chomp;
13     push @stopwords, $_
14         unless /\A (?: \# | \s* \z)/msx;    # skip comments, whitespace
15 }
16
17 add_stopwords(@stopwords);
18 set_spell_cmd('aspell list -l en');
19
20 # This prevents a weird segfault from the aspell command - see
21 # https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
22 local $ENV{LC_ALL} = 'C';
23 all_pod_files_spelling_ok();
24
25 __DATA__
26 APIs
27 ActionClass
28 Daisuke
29 Daisuke
30 Deserialize
31 Deserializer
32 Deserializing
33 Doran
34 Goulah
35 JSON
36 Laco
37 Maki
38 Maki
39 Marchex
40 Pearcey
41 RESTful
42 RESTful
43 SERIALIZERS
44 TT
45 Wikipedia
46 XHR
47 XMLHttpRequest
48 YAML
49 conf
50 deserialize
51 deserialized
52 deserializing
53 fREW
54 html
55 http
56 javascript
57 jrockway
58 mst
59 namespace
60 plugins
61 request's
62 serializer
63 thusly
64 wildcard