Permalink
Browse files

[gsoc_spectest] added one more test in the area (added 1 test)

git-svn-id: http://svn.pugscode.org/pugs@21890 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent f5a237f commit 0cc228a1761e55a67b12b2416550b66c32a4947f Auzon committed Aug 11, 2008
Showing with 3 additions and 1 deletion.
  1. +3 −1 S06-advanced_subroutine_features/stub.t
@@ -1,12 +1,14 @@
use v6;
use Test;
-plan 9;
+plan 10;
# L<S06/Stub declarations>
lives_ok({sub thunder {...}}, 'sub foo {...} works');
+eval_dies_ok('sub foo;', 'old Perl 5 "sub foo;" syntax is dead');
+
{
sub lightning {...}
# Maybe should be warns_ok

0 comments on commit 0cc228a

Please sign in to comment.