Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[minimal-whitespace.t] Test for RT 80330
  • Loading branch information
kyleha committed Dec 23, 2010
1 parent fef3dcc commit ee1cf20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S02-whitespace_and_comments/minimal-whitespace.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 7;
plan 9;

# L<S03/Minimal whitespace DWIMmery/Whitespace is no longer allowed before>

Expand All @@ -26,4 +26,8 @@ my $o = Thing.new;
eval_dies_ok('$o .whatever(5)', 'whitespace is not allowed before . before method');
eval_dies_ok('$o. whatever(5)', 'whitespace is not allowed after . before method');

eval_lives_ok 'my @rt80330; [+] @rt80330', 'a [+] with whitespace works';
#?rakudo todo 'RT 80330'
eval_dies_ok 'my @rt80330; [+]@rt80330', 'a [+] without whitespace dies';

# vim: ft=perl6

0 comments on commit ee1cf20

Please sign in to comment.