develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #118725] lib/File/Basename.t: extend test coverage

Thread Previous
James E Keenan
July 3, 2013 00:13
[perl #118725] lib/File/Basename.t: extend test coverage
Message ID:
# New Ticket Created by  James E Keenan 
# Please include the string:  [perl #118725]
# in the subject line of all future correspondence about this issue. 
# <URL: >

There is one branch in the non-OS-specific part of lib/File/ 
which is not exercised by the corresponding test file:

sub fileparse {
   my($fullname,@suffices) = @_;

   unless (defined $fullname) {
       require Carp;
       Carp::croak("fileparse(): need a valid pathname");

Please review patch attached which covers this branch.

Thank you very much.
Jim Keenan

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About