Skip to content

Commit f37df01

Browse files
committed
Brace, not bracket.
Since the remaining issue in this file comes from rakudo itself, skip the problem text explicitly and refer to the rakudo bug.
1 parent da35fc7 commit f37df01

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/Type/X/Syntax/Comment/Embedded.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class X::Syntax::Comment::Embedded does X::Syntax { }
88
99
Syntax error thrown when C<#`> is encountered and it is not followed by
10-
an opening curly bracket.
10+
an opening curly brace.
1111
1212
For example
1313

xt/braces.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ sub test-it(Str $output, Str $file) {
2222

2323
my $msg;
2424

25-
my $line = $output.subst(/\s+/, ' ', :g); # canonicalize whitespace
25+
my $line = $output.subst(/\s+/, ' ', :g) # canonicalize whitespace
26+
.subst('Opening bracket is required for', ''); # rakudo/rakudo#2672
2627

2728
if $line ~~ /:i <!after curly> ' ' 'braces' >> / {
2829
$msg ~= "Found 'braces' without 'curly'. ";

0 commit comments

Comments
 (0)