]> git.vpit.fr Git - perl/modules/Test-Leaner.git/blobdiff - lib/Test/Leaner.pm
Document that tests functions return the value of the test
[perl/modules/Test-Leaner.git] / 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.