Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rename done_testing to done; leave a die() in place
  • Loading branch information
moritz committed Dec 31, 2010
1 parent a52525d commit 6a9a38f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Test.pm
Expand Up @@ -240,6 +240,10 @@ sub proclaim($cond, $desc) {
}

sub done_testing() is export {
die "done_testing() has been renamed to done(), please change your test code";
}

sub done() is export {
our $done_testing_has_been_run;

$done_testing_has_been_run = 1;
Expand Down

0 comments on commit 6a9a38f

Please sign in to comment.