Skip to content

Commit

Permalink
Revert "test/perl/cli: Don't check failed component order"
Browse files Browse the repository at this point in the history
This reverts commit 8c15f84.
  • Loading branch information
jrha committed Jul 12, 2023
1 parent 8c15f84 commit 4c7afa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/perl/cli.t
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ like($@, qr{^exit -1 at}, "report exited with failure");
ok($this_app->directory_exists($statedir), "statedir $statedir does exist 3");
diag explain \@pri;
is($pri[-3]->[0], '2 components with error', "Main report is 2 failed components");
#like($pri[-2]->[0], qr{^ ouch failed on .*? 2001 \(no message\)}, "failed ouch component");
#like($pri[-1]->[0], qr{^ woohaa failed on .*? 1973 with message woopsie}, "failed woohaa component");
like($pri[-2]->[0], qr{^ ouch failed on .*? 2001 \(no message\)}, "failed ouch component");
like($pri[-1]->[0], qr{^ woohaa failed on .*? 1973 with message woopsie}, "failed woohaa component");

@pri = qw();
eval {$this_appn->main($ec);};
Expand Down

0 comments on commit 4c7afa9

Please sign in to comment.