From: Dave Rolsky Date: Sat, 14 Mar 2009 18:12:19 +0000 (-0500) Subject: Small code cleanup X-Git-Tag: 0.72_01~70 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93de3710d42883d503084b44bad7be06399c24aa;hp=d34910a363bf52b343b57c9575e3027908527b9b;p=gitmo%2FMoose.git Small code cleanup --- diff --git a/xt/pod_spell.t b/xt/pod_spell.t index 71a8a61..e6a543c 100644 --- a/xt/pod_spell.t +++ b/xt/pod_spell.t @@ -1,10 +1,15 @@ +use strict; +use warnings; + use Test::Spelling; + my @stopwords; for () { chomp; push @stopwords, $_ - unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace -}; + unless /\A (?: \# | \s* \z)/msx; # skip comments, whitespace +} + add_stopwords(@stopwords); set_spell_cmd('aspell list -l en'); all_pod_files_spelling_ok;