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

Owner: Nobody in particular
Requestors: kconnor [...]

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 [...]
From: Kevin Connor <kconnor [...]>
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 [...]
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/ +++ b/lib/perl5/TAP/ @@ -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 infrastructure.

Please report any issues with to