Permalink
Browse files

add a test for unspace between function and arguments

  • Loading branch information...
1 parent 1260840 commit 643ab0e16855574c2d6e79cdb04e746babbd095e @timo timo committed Jul 17, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 S02-lexical-conventions/unspace.t
@@ -4,7 +4,7 @@ use MONKEY_TYPING;
use Test;
-plan 77;
+plan 78;
# L<S02/"Unspaces"/This is known as the "unspace">
@@ -70,6 +70,7 @@ is((bar.lc ), 'a', 'sanity - bar.lc');
is((bar .lc ), 'b', 'sanity - bar .lc');
is((foo\.lc ), 'a', 'short unspace');
is((foo\ .lc ), 'a', 'unspace');
+is((foo\ ('x')), 'x', "unspace before arguments");
#?rakudo skip 'parse fail'
is((foo \ .lc), 'b', 'not a unspace');
eval_dies_ok('fo\ o.lc', 'unspace not allowed in identifier');

0 comments on commit 643ab0e

Please sign in to comment.