This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert lib/File/stat.t from a complex plan calculation to done_testing().
authorNicholas Clark <nick@ccl4.org>
Sat, 2 Jun 2012 20:42:47 +0000 (22:42 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 21 Jun 2012 06:58:59 +0000 (08:58 +0200)
commitc239c67cfc765f17d1895e3d41e705fb1e75af04
tree17818cdb892481f22ea0008c3b793367b7f8f005
parent15fd090fd79e9509cbc7d1ac9791ea71edd52d03
Convert lib/File/stat.t from a complex plan calculation to done_testing().

Also replace use_ok (not in BEGIN) with a simple require. If the require
fails it's not worth trying to test anything else, Test::More's END
handing will automatically report a test failure, so the failure will be
recorded.

Add an editor block.
lib/File/stat.t