Skip to content

Commit

Permalink
Check for parser errors in multiplexer.t
Browse files Browse the repository at this point in the history
If something is very wrong with the TAP stream, don't silence $@ die
errors.
  • Loading branch information
bulk88 authored and Leont committed Nov 12, 2024
1 parent 7b0e6ce commit 7b1452a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/multiplexer.t
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ for my $test (@schedule) {

# use Data::Dumper;
# diag Dumper( { stash => $stash, result => $result } );
my @err = $parser->parse_errors();
ok(!@err, "$name: Parser has no parse errors");
diag @err if @err;
if ( defined $result ) {
my $expect = ( shift @$stash ) || ' OOPS ';
my $got = $result->raw;
Expand Down

0 comments on commit 7b1452a

Please sign in to comment.