Andy Lester wrote: > > On Jun 9, 2009, at 2:57 PM, Michael G Schwern wrote: > >>> use Test::More tests => 14; >>> ok( 1 ); >>> done_testing(); >> >> You would try that. :P > > > It's not that I tried it, it's that I didn't know what would happen if I > did both together, because it wasn't clear to me up front if > done_testing() replaced no_plan or worked with it.
Its shown in the plan documentation working with no_plan and stated at the end of the done_testing() docs: This is safer than and replaces the "no_plan" plan. Oddly enough, done_testing() and no_plan do not work together. They probably should. use Test::More "no_plan"; pass(); done_testing()' ok 1 1..1 The plan was already output at /usr/local/perl/5.10.0/lib/5.10.0/Test/Builder.pm line 2341. 1..1 Anyhow, I was just poking fun because you're Mr. Test Count. -- 91. I am not authorized to initiate Jihad. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/