Commits

Shlomi Fish committed ea1a4eb

Clarify docs

  • Participants
  • Parent commits 413cbaf

Comments (0)

Files changed (2)

File Test-TrailingSpace/Changes

+0.0102
+    - Clarified the documentation for ->no_trailing_space.
+
 0.0101      Wed  8 Aug 22:07:11 IDT 2012
     - Add $VERSION to lib/Test/TrailingSpace.pm .
 

File Test-TrailingSpace/lib/Test/TrailingSpace.pm

         close ($fh);
     }
 
-    is ($num_found, 0, $blurb);
+    return is ($num_found, 0, $blurb);
 }
 
 1;
 
 =head2 $finder->no_trailing_space($blurb)
 
-Determines if there is no trailing space in the source files. Returns 1
-if there isn't and 0 if there's not, and is equivalent to the Test::More::ok(),
-with diagnostics if there is trailing space.
+Determines if there is no trailing space in the source files. Returns true
+no trailing space was found and false if trailing space was found.
+It is equivalent to Test::More::ok(), with diagnostics to report if there is
+trailing space.
 
 =head1 AUTHOR