use strict;
use warnings;

use Test::Spelling;

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

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

# This prevents a weird segfault from the aspell command - see
# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
local $ENV{LC_ALL} = 'C';
all_pod_files_spelling_ok;

__DATA__
API
CPAN
Courriel
DateTime
Multipart
PayPal
Postel's
Rolsky
UTC
UTF
ascii
attribute's
cid
distro
filename
html
inline
lookup
multipart
utf
zh

use strict;
use warnings;

use Test::Spelling;

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

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

# This prevents a weird segfault from the aspell command - see
# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
local $ENV{LC_ALL} = 'C';
all_pod_files_spelling_ok;

__DATA__
API
CPAN
Courriel
DateTime
Multipart
PayPal
Postel's
Rolsky
UTC
UTF
Zbigniew
ascii
attribute's
cid
distro
filename
html
inline
lookup
multipart
ukasiak
utf
zh
Łukasiak

Add names to spelling whitelist
Add names to spelling whitelist
