Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Test.pm6] remove &done-testing and &done_testing
  • Loading branch information
pmurias committed Dec 31, 2010
1 parent 32d94f6 commit 025e408
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions lib/Test.pm6
Expand Up @@ -57,7 +57,7 @@ class Builder {
}
}

method done-testing {
method done {
if !($!set-plan) {
self!output("1.." ~ ($.current-test - 1));
}
Expand All @@ -83,8 +83,6 @@ sub is($got, $expected, $tag?) is export {
}
}
sub plan($num) is export { $*TEST-BUILDER.plan($num) }
sub done-testing() is export { $*TEST-BUILDER.done-testing }
sub done_testing() is export { $*TEST-BUILDER.done-testing }
sub done() is export { $*TEST-BUILDER.done-testing }
sub skip($number,$reason) is export {
my $i = 0;
Expand Down
2 changes: 1 addition & 1 deletion t/jsync.t
Expand Up @@ -79,4 +79,4 @@ for @$data -> $vector {
myis $result, $canon, "($id) $comment";
}

done-testing;
done;
2 changes: 1 addition & 1 deletion test2.pl
Expand Up @@ -98,4 +98,4 @@
# }
# }

done-testing;
done;
2 changes: 1 addition & 1 deletion v6n/cclass.t
Expand Up @@ -87,4 +87,4 @@ cctest '$CClass::Word', $CClass::Word,
[< _ 0 9 A Z a z >, "\x4E00"],
[' ', ',', '-', "\n"];

done_testing;
done;

0 comments on commit 025e408

Please sign in to comment.