move xt tests to xt/author for Module::Install to work
[gitmo/MooseX-Singleton.git] / xt / author / pod-spell.t
CommitLineData
da16d915 1use strict;
2use warnings;
3
eb98d2dd 4use Test::More;
5eval 'use Test::Spelling;';
6plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
da16d915 7
8my @stopwords;
9for (<DATA>) {
10 chomp;
11 push @stopwords, $_
12 unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace
13}
14
15add_stopwords(@stopwords);
16set_spell_cmd('aspell list -l en');
eb98d2dd 17all_pod_files_spelling_ok();
da16d915 18
19__DATA__
20metaclass
21SIGNES