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 committed Nov 10, 2024
1 parent 987fb50 commit 28361bf
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 28361bf

Please sign in to comment.