Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #76276 - $() is meant to be $/.ast // $/.Str
  • Loading branch information
FROGGS committed Jul 18, 2014
1 parent 6a63037 commit 87f2ed3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S05-match/make.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 3;
plan 4;

# should be: L<S05/Bracket rationalization/"An B<explicit> reduction using the C<make> function">
# L<S05/Bracket rationalization/reduction using the>
Expand All @@ -15,4 +15,10 @@ ok($/, 'matched');
is($(), 'bar');
is $/.ast, 'bar', '$/.ast';

# RT #76276
{
"foo" ~~ /foo/;
is "What kind of $()l am I?", 'What kind of fool am I?', '$() falls back to $/.Str when nothing was made';
}

# vim: ft=perl6

0 comments on commit 87f2ed3

Please sign in to comment.