This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert lib/FileHandle.t to use of Test::More; provide descriptions.
authorJames E Keenan <jkeenan@cpan.org>
Wed, 10 Jul 2013 02:13:10 +0000 (04:13 +0200)
committerJames E Keenan <jkeenan@cpan.org>
Tue, 16 Jul 2013 02:21:08 +0000 (04:21 +0200)
commit9902086f9aab16b3a5a8d14e8fb7f99c53549dc1
tree0293cf2cb6f69ec0410c27f4e796291b5d7ee2da
parent21c01741f7906ac8801dc4d13087c6243af2de47
Convert lib/FileHandle.t to use of Test::More; provide descriptions.

Previously, file used hand-coded 'print "ok"' statements and no tests had
descriptions (a.k.a. labels or names).  Convert to use of Test::More functions
and provide descriptions for all individual tests.

Previously, file used global variables extensively and did not 'use strict'
(except 'use strict subs').  The globals have been converted to lexicals
where appropriate and the file now runs fully under strictures.  Other
than that, no attempt was made to improve the design of the file or the
quality of the tests.  (That can be done in a later RT, if desired.)

Thanks to Peter Martini for guidance, Dagfinn Ilmari MannsÃ¥ker for guidance
and code review on list and Tony Cook for additional review.

For: RT #118883
lib/FileHandle.t