]> git.vpit.fr Git - perl/modules/Test-Leaner.git/commitdiff
Document that tests functions return the value of the test
authorVincent Pit <vince@profvince.com>
Sat, 25 Dec 2010 18:42:18 +0000 (19:42 +0100)
committerVincent Pit <vince@profvince.com>
Sat, 25 Dec 2010 18:42:18 +0000 (19:42 +0100)
lib/Test/Leaner.pm

index 6ae6e2b154348affc6649264b90ebf6faf309d39..c1b8df4b712334a900802ec34b9260407b905f2e 100644 (file)
@@ -500,6 +500,11 @@ END {
  }
 }
 
+=pod
+
+L</pass>, L</fail>, L</ok>, L</is>, L</isnt>, L</like>, L</unlike> and L</cmp_ok> are all guaranteed to return the truth value of the test.
+Their L<Test::More> counterparts behave the same, but it is not documented anywhere.
+
 =head1 DEPENDENCIES
 
 L<perl> 5.6.