Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
coke committed Mar 12, 2019
1 parent da35fc7 commit f37df01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/Type/X/Syntax/Comment/Embedded.pod6
Expand Up @@ -7,7 +7,7 @@
class X::Syntax::Comment::Embedded does X::Syntax { }
Syntax error thrown when C<#`> is encountered and it is not followed by
an opening curly bracket.
an opening curly brace.
For example
Expand Down
3 changes: 2 additions & 1 deletion xt/braces.t
Expand Up @@ -22,7 +22,8 @@ sub test-it(Str $output, Str $file) {

my $msg;

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

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

0 comments on commit f37df01

Please sign in to comment.