Skip to content

Commit

Permalink
Un-fudge the regex code param tests
Browse files Browse the repository at this point in the history
The tests were previously broken due to a syntax error, not
because of any regression.
  • Loading branch information
ab5tract committed May 21, 2024
1 parent c1cc007 commit 22932c2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/12-rakuast/fixed-in-rakuast.rakutest
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,9 @@ plan 22;

# ???
# https://github.com/rakudo/rakudo/issues/1516
#?rakudo todo "These were reported as working but do not appear to be working any longer"
{
lives-ok { Q| grammar A { token x(&a) { <.&a> } |.AST.EVAL }, "no error messages from code params to regexes (<.&a>)";
lives-ok { Q| grammar A { token x(&a) { <&a> } |.AST.EVAL }, "no error messages from code params to regexes (<&a>)";
lives-ok { Q| { my grammar A { token x(&a) { <.&a> } } } |.AST.EVAL }, "no error messages from code params to regexes (<.&a>)";
lives-ok { Q| { my grammar A { token x(&a) { <&a> } } } |.AST.EVAL }, "no error messages from code params to regexes (<&a>)";
}

# ???
Expand Down

0 comments on commit 22932c2

Please sign in to comment.