Skip to content

Commit

Permalink
[gsoc_spectest] added one more test in the area (added 1 test)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@21890 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
Auzon authored and Auzon committed Aug 11, 2008
1 parent f5a237f commit 0cc228a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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
Expand Down

0 comments on commit 0cc228a

Please sign in to comment.