Wed Apr 16 13:05:41 2008kconnor [...] proofpoint.com - Ticket created
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>
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 )
Fri Nov 14 15:07:47 2008dajoli66 [...] googlemail.com - Correspondence added
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;
}
Fri Nov 14 15:07:50 2008The RT System itself - Status changed from 'new' to 'open'
Thu Mar 05 14:48:54 2009andy [...] hexten.net - Correspondence added
Fixed in r1285, thanks.
Thu Mar 05 14:48:55 2009andy [...] hexten.net - Status changed from 'open' to 'resolved'