use strict;
use warnings;

use Test::More;
eval 'use Test::Spelling;';
plan skip_all => "Test::Spelling required for testing POD spelling" if $@;

my @stopwords;
for (<DATA>) {
    chomp;
    push @stopwords, $_
        unless /\A (?: \# | \s* \z)/msx;    # skip comments, whitespace
}

add_stopwords(@stopwords);
set_spell_cmd('aspell list -l en');
all_pod_files_spelling_ok();

__DATA__
metaclass
SIGNES
