[Bps-public-commit] Test-Spelling branch, master, updated. 0.12-1-g24a74b4
Shawn Moore
sartak at bestpractical.com
Tue Apr 26 12:23:14 EDT 2011
The branch, master has been updated
via 24a74b4886530ab67684c67fb759cf36f8776da2 (commit)
from a8030735832129460f998ac8ae36a9d38c5b07b9 (commit)
Summary of changes:
lib/Test/Spelling.pm | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 24a74b4886530ab67684c67fb759cf36f8776da2
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Apr 26 12:23:00 2011 -0400
Don't duplicate the example all_pod_files_spelling_ok
diff --git a/lib/Test/Spelling.pm b/lib/Test/Spelling.pm
index 2aef21a..748d050 100644
--- a/lib/Test/Spelling.pm
+++ b/lib/Test/Spelling.pm
@@ -304,12 +304,8 @@ first line looks like a perl shebang line.
If there is no working spellchecker (determined by
L</has_working_spellchecker>), this test will issue a "skip all" directive.
-If you're testing a distribution, just create a F<t/pod-spell.t>:
-
- use Test::More;
- plan skip_all => "Spelling tests only for authors" unless -d "inc/.author";
- use Test::Spelling;
- all_pod_files_spelling_ok();
+If you're testing a distribution, just create a F<t/pod-spell.t> with the code
+in the L</SYNOPSIS>.
Returns true if every POD file has correct spelling, or false if any of them fail.
This function will show any spelling errors as diagnostics.
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list