Skip to content

Commit

Permalink
[Test.pm] fix stupid thinko, moritz--
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Dec 23, 2011
1 parent dfd1d7a commit eb6c4be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Test.pm
Expand Up @@ -289,14 +289,14 @@ multi sub eval_lives_ok(Str $code, $reason) {
$time_after = nqp::p6box_n(pir::time__N);
my $ee = eval_exception($code);
proclaim((not defined $ee), $reason)
or note("Error: $ee");
or diag("Error: $ee");
$time_before = nqp::p6box_n(pir::time__N);
}
multi sub eval_lives_ok(Str $code) {
$time_after = nqp::p6box_n(pir::time__N);
my $ee = eval_exception($code);
proclaim((not defined $ee), '')
or note("Error: $ee");
or diag("Error: $ee");
$time_before = nqp::p6box_n(pir::time__N);
}

Expand Down

0 comments on commit eb6c4be

Please sign in to comment.