[Rt-commit] rt branch, 4.0/pod-spell, created. rt-4.0.0rc6-126-g06c604b

Shawn Moore sartak at bestpractical.com
Thu Mar 17 16:26:39 EDT 2011


The branch, 4.0/pod-spell has been created
        at  06c604b7f99922d978a248ffd57e6cf60b9cb1b7 (commit)

- Log -----------------------------------------------------------------
commit 06c604b7f99922d978a248ffd57e6cf60b9cb1b7
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 17 16:26:04 2011 -0400

    Add 99-pod-spelling.t sans the thousands of stopwords we'll need

diff --git a/t/99-pod-spelling.t b/t/99-pod-spelling.t
new file mode 100644
index 0000000..755890c
--- /dev/null
+++ b/t/99-pod-spelling.t
@@ -0,0 +1,22 @@
+#!/usr/bin/env perl -w
+
+use strict;
+use Test::More;
+
+eval "use Test::Spelling";
+plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
+
+# strip comments
+my @stopwords = map { s/#.*// } <DATA>;
+
+add_stopwords(@stopwords);
+
+local $ENV{LC_ALL} = 'C';
+set_spell_cmd('aspell list -l en');
+
+all_pod_files_spelling_ok();
+
+__DATA__
+# PERSON NAMES
+Ruslan
+Zakirov

-----------------------------------------------------------------------


More information about the Rt-commit mailing list