X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FTest%2FTutorial.pod;h=b730918c75555979f32b62209607337fabbe8903;hb=eb82025626458906d2bbe72f51b033c03e0a590d;hp=a57d04769e8500610c2b3038785435b43bb4ff35;hpb=60ffb3081afd811893be4fb73d870ed1a5c9ca72;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Test/Tutorial.pod b/lib/Test/Tutorial.pod index a57d047..b730918 100644 --- a/lib/Test/Tutorial.pod +++ b/lib/Test/Tutorial.pod @@ -174,7 +174,7 @@ run that and you get: # Looks like you failed 1 tests of 8. Whoops, a failure! [4] Test::Simple helpfully lets us know on what line -the failure occured, but not much else. We were supposed to get 17, +the failure occurred, but not much else. We were supposed to get 17, but we didn't. What did we get?? Dunno. We'll have to re-run the test in the debugger or throw in some print statements to find out. @@ -502,7 +502,7 @@ C and turn it into a real test. =head2 Testing with taint mode. Taint mode is a funny thing. It's the globalest of all global -features. Once you turn it on it effects I code in your program +features. Once you turn it on, it affects I code in your program and I modules used (and all the modules they use). If a single piece of code isn't taint clean, the whole thing explodes. With that in mind, it's very important to ensure your module works under taint @@ -514,8 +514,6 @@ in C<#!> and use them to run your tests. #!/usr/bin/perl -Tw - use Test::More 'no_plan'; - ...test normally here... So when you say C it will be run with taint mode and