Add some more words to whitelist
[gitmo/MooseX-ClassAttribute.git] / xt / release / pod-spell.t
CommitLineData
7ce70009 1use strict;
2use warnings;
3
4use Test::More;
5
f8379d02 6use Test::Requires {
7 'Test::Spelling' => '0.01', # skip all if not installed
8};
7ce70009 9
10my @stopwords;
11for (<DATA>) {
12 chomp;
13 push @stopwords, $_
14 unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace
15}
16
17add_stopwords(@stopwords);
18set_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
22local $ENV{LC_ALL} = 'C';
23all_pod_files_spelling_ok();
24
25__DATA__
69bcd0ce 26API
0c509312 27metaclass
28mixin
7ce70009 29PayPal
69bcd0ce 30Rolsky