X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Frelease%2Fpod-spell.t;fp=xt%2Frelease%2Fpod-spell.t;h=e40aa0c47c90c5ee0fe17e629a321f4ba36f694e;hb=589d008416ec9788b4fc37168653b59133c4e0f9;hp=0000000000000000000000000000000000000000;hpb=2bde5b9ee555252c593e221eb750a405b23af5cd;p=catagits%2FCatalystX-Routes.git diff --git a/xt/release/pod-spell.t b/xt/release/pod-spell.t new file mode 100644 index 0000000..e40aa0c --- /dev/null +++ b/xt/release/pod-spell.t @@ -0,0 +1,27 @@ +use strict; +use warnings; + +use Test::Spelling; + +my @stopwords; +for () { + chomp; + push @stopwords, $_ + unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace +} + +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__ +APIs +RESTful +bizarro +del +namespace +ness