Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[stub.t] is instead should be supersede

git-svn-id: http://svn.pugscode.org/pugs@28408 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 7b1fea4b352e27978cbcc236c1b07742f356d915 1 parent 0676f52
lwall authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 S06-advanced_subroutine_features/stub.t
View
4 S06-advanced_subroutine_features/stub.t
@@ -33,8 +33,8 @@ eval_dies_ok('sub foo;', 'old Perl 5 "sub foo;" syntax is dead');
sub hail {26}
# Maybe should be warns_ok
eval_dies_ok('sub hail {10}', 'redefining existing subroutine dies');
- sub hail is instead {8}
- is(hail(), 8, 'redefining non-stub subroutine with is instead');
+ supersede sub hail {8}
+ is(hail(), 8, 'redefining non-stub subroutine with supersede');
}
# vim: ft=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.