[Jifty-commit] jifty-dbi branch, master, updated. 0.68-6-g9a6c60c

Jifty commits jifty-commit at lists.jifty.org
Wed Apr 27 13:07:03 EDT 2011


The branch, master has been updated
       via  9a6c60ce38ce8dfd6b6600f6df792c5ad86cead5 (commit)
      from  1ae767f1c85125a971a62d2a9a1ffa81b95b68e0 (commit)

Summary of changes:
 t/99-pod-spelling.t |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

- Log -----------------------------------------------------------------
commit 9a6c60ce38ce8dfd6b6600f6df792c5ad86cead5
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Apr 25 16:37:12 2011 -0400

    Test::Spelling 0.12 comes with some improvements

diff --git a/t/99-pod-spelling.t b/t/99-pod-spelling.t
index e3cf183..40bc4ec 100644
--- a/t/99-pod-spelling.t
+++ b/t/99-pod-spelling.t
@@ -1,17 +1,17 @@
-#!/usr/bin/env perl -w
-
 use strict;
+use warnings;
+
 use Test::More;
-eval "use Test::Spelling";
-plan skip_all => "Spelling tests only run for authors" unless (-d 'inc/.author');
+BEGIN {
+    plan skip_all => "Spelling tests only run for authors"
+        unless -d 'inc/.author';
+}
 
-plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
+eval "use Test::Spelling 0.12";
+plan skip_all => "Test::Spelling 0.12 required for testing POD spelling" if $@;
 
 add_stopwords(<DATA>);
 
-local $ENV{LC_ALL} = 'C';
-set_spell_cmd('aspell list -l en');
-
 all_pod_files_spelling_ok();
 
 __DATA__

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


More information about the Jifty-commit mailing list