Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[minimal-whitespace.t] Test for RT 80330

  • Loading branch information...
commit ee1cf201ea0369936c5d3585875dad4a7700529e 1 parent fef3dcc
@kyleha kyleha authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 S02-whitespace_and_comments/minimal-whitespace.t
View
6 S02-whitespace_and_comments/minimal-whitespace.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 7;
+plan 9;
# L<S03/Minimal whitespace DWIMmery/Whitespace is no longer allowed before>
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.