Permalink
Browse files

Improve POD formatting a bit.

git-svn-id: https://svn.parrot.org/parrot/trunk@47997 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent cac19aa commit 23efac891f8899210c283000ef48e7f5c92abe99 jkeenan committed Jul 5, 2010
Showing with 11 additions and 10 deletions.
  1. +11 −10 lib/Parrot/Test/Util/Runloop.pm
@@ -19,18 +19,19 @@ Parrot::Test::Util::Runloop - consolidated test for lots of files
=head1 DESCRIPTION
This module provides a basic runloop for test scripts which perform the same
-test, over and over, on lots of files. It is intended to consolidate some code
-to handle loops, skips etc, replicated many times in the t/distro/ and
-t/codingstd/ test directories.
+test, over and over, on lots of files. It is intended to consolidate some
+code to handle loops, skips etc, replicated many times in the F<t/distro/> and
+F<t/codingstd/> test directories.
You can specify a callback routine to get called back once per line (with the
-per_line attribute), or once per file (with the per_file attribute). The
-per_line callback gets passed the line as a text string. The per_file callback
-gets passed the whole file as a text string. If the callback function returns
-positive, the test passed, otherwise the test failed. Failures are tallied,
-and later reported to the test harness once, as a single test. On failure,
-some informational diagnostics are also generated, showing the user which
-file(s) and which line(s) (if applicable) had the failure.
+C<per_line> attribute), or once per file (with the C<per_file> attribute).
+The C<per_line> callback gets passed the line as a text string. The
+C<per_file> callback gets passed the whole file as a text string. If the
+callback function returns positive, the test passed, otherwise the test
+failed. Failures are tallied, and later reported to the test harness once, as
+a single test. On failure, some informational diagnostics are also generated,
+showing the user which file(s) and which line(s) (if applicable) had the
+failure.
=head1 AUTHOR

0 comments on commit 23efac8

Please sign in to comment.