Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some more diagnostics on failure
  • Loading branch information
lizmat committed Mar 4, 2016
1 parent 27010e5 commit 70ed68a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/Test/Idempotence.pm
Expand Up @@ -27,7 +27,8 @@ sub is-perl-idempotent($thing, $desc?, %subst?, :$eqv = False) is export {
}
}
if ($eqv) {
ok $thing eqv $stage2, "Result is same as original";
diag "$thing.perl() !eqv $stage2.perl()"
unless ok $thing eqv $stage2, "Result is same as original";
}
is $stage1r, $stage2p, "Same .perl output";
is $fail, 1, "...and no failures.";
Expand Down

0 comments on commit 70ed68a

Please sign in to comment.