Add the original source packages to maemo, source lenny
[dh-make-perl] / dev / i386 / libtest-exception-perl / libtest-exception-perl-0.27 / t / developer / spelling.t
diff --git a/dev/i386/libtest-exception-perl/libtest-exception-perl-0.27/t/developer/spelling.t b/dev/i386/libtest-exception-perl/libtest-exception-perl-0.27/t/developer/spelling.t
new file mode 100644 (file)
index 0000000..dd1b219
--- /dev/null
@@ -0,0 +1,47 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More;
+
+my $ispell_path = eval q{
+    use Test::Spelling; 
+    use File::Which;
+    which('ispell') || die 'no ispell'
+};
+plan skip_all => 'Optional Test::Spelling, File::Which and ispell program required to spellcheck POD' if $@;
+set_spell_cmd("$ispell_path -l");
+add_stopwords( <DATA> );
+all_pod_files_spelling_ok();
+
+__DATA__
+AnnoCPAN
+CPAN
+perlmonks
+RSS
+Boumans
+Cees
+Godin
+Harkins
+Hek
+Purkis
+Schleicher
+Muhlestein
+Perrin
+Prew
+Krieger
+LICENCE
+McCann
+Jos
+Jost
+qa
+Adrian
+Cantrell
+Janek
+Jore
+ben
+Khemir
+Nadim
+Pagaltzis
+Dolan
+RT