Skip to content

Commit

Permalink
Mark RakuAST FIRST tests as todo if not run under RAKUDO_RAKUAST=1
Browse files Browse the repository at this point in the history
Recent changes made the trees dependent on the Raku grammar/actions
and thus will not function correctly with the legacy grammar
  • Loading branch information
lizmat committed Oct 17, 2023
1 parent 7660d36 commit 8defd10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/12-rakuast/statement-phaser.rakutest
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ CODE
}
}

todo("Depends on Raku grammar/actions") unless %*ENV<RAKUDO_RAKUAST>;
subtest 'While loop with FIRST phaser block and return value' => {
my $run;
my $guard = True;
Expand Down Expand Up @@ -1062,6 +1063,7 @@ CODE
}
}

todo("Depends on Raku grammar/actions") unless %*ENV<RAKUDO_RAKUAST>;
subtest 'Subroutine with FIRST phaser block and return value' => {
my $run;
my $guard;
Expand Down

0 comments on commit 8defd10

Please sign in to comment.