Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 35124
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: kconnor [...] proofpoint.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: TAP::Parser EOF callback should have parser obj as param
Date: Wed, 16 Apr 2008 10:04:41 -0700
To: bug-Test-Harness [...] rt.cpan.org
From: Kevin Connor <kconnor [...] proofpoint.com>
Download (untitled) / with headers
text/plain 187b
it's documented to send the parser obj but is coded to send the undefined result obj instead $self->_make_callback( 'EOF', $result ) should be $self->_make_callback( 'EOF', $self )
Subject: [PATCH] TAP::Parser 3.14 EOF behaviour !~ documentation
From: dajoli66 [...] googlemail.com
Download (untitled) / with headers
text/plain 433b
As stated above, the EOF callback does not get the parameters the documentation states it should. --- a/lib/perl5/TAP/Parser.pm +++ b/lib/perl5/TAP/Parser.pm @@ -1429,7 +1429,7 @@ } else { $result = $end_handler->(); - $self->_make_callback( 'EOF', $result ) + $self->_make_callback( 'EOF', $self ) unless defined $result; }
Fixed in r1285, thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.