more convert to using Test::Requires
[gitmo/MooseX-Singleton.git] / xt / author / pod-spell.t
CommitLineData
da16d915 1use strict;
2use warnings;
3
eb98d2dd 4use Test::More;
42c06343 5
6use Test::Requires {
7 'Test::Spelling' => '0.01', # skip all if not installed
8};
da16d915 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');
eb98d2dd 19all_pod_files_spelling_ok();
da16d915 20
21__DATA__
22metaclass
01c3d7c1 23Rolsky
da16d915 24SIGNES