Skip to content

Commit 7b1452a

Browse files
bulk88Leont
authored andcommitted
Check for parser errors in multiplexer.t
If something is very wrong with the TAP stream, don't silence $@ die errors.
1 parent 7b0e6ce commit 7b1452a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/multiplexer.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ for my $test (@schedule) {
153153

154154
# use Data::Dumper;
155155
# diag Dumper( { stash => $stash, result => $result } );
156+
my @err = $parser->parse_errors();
157+
ok(!@err, "$name: Parser has no parse errors");
158+
diag @err if @err;
156159
if ( defined $result ) {
157160
my $expect = ( shift @$stash ) || ' OOPS ';
158161
my $got = $result->raw;

0 commit comments

Comments
 (0)