Skip to content

Commit

Permalink
Track compiler name change
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jan 28, 2020
1 parent ac95173 commit 8cca87f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xt/examples-compilation.t
Expand Up @@ -106,7 +106,8 @@ sub test-example ($eg) {
temp $*ERR = open :w, $*SPEC.devnull;
use nqp;
my $*LINEPOSCACHE;
$has-error = not try { nqp::getcomp('perl6').parse($code) };
my $parser = nqp::getcomp('Raku') || nqp::getcomp('perl6');
$has-error = not try { $parser.parse($code) };
close $*OUT;
close $*ERR;

Expand Down

0 comments on commit 8cca87f

Please sign in to comment.