Skip to content

Commit

Permalink
add a test for unspace between function and arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Jul 17, 2013
1 parent 1260840 commit 643ab0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-lexical-conventions/unspace.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use MONKEY_TYPING;

use Test;

plan 77;
plan 78;

# L<S02/"Unspaces"/This is known as the "unspace">

Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 643ab0e

Please sign in to comment.