Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change references of $*PERL to $*RAKU
Also simplify t/08-performance/05-processkeys.t using set operators.
- Loading branch information
Showing
5 changed files
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
use Test; | ||
plan 1; | ||
|
||
# output of "perl6 -e 'use Test; .say for PROCESS::.keys.sort.map: { qq:!c/ Q{$_},/ }'" | ||
my %allowed = ( | ||
# output of "raku -e 'use Test; .say for PROCESS::.keys.sort.map: { qq:!c/ Q{$_},/ }'" | ||
my $allowed = ( | ||
Q{$AWAITER}, | ||
Q{$CWD}, | ||
Q{$CORE-SETTING-REV}, | ||
Q{$ERR}, | ||
Q{$IN}, | ||
Q{$OUT}, | ||
Q{$PERL}, | ||
Q{$PID}, | ||
Q{$RAKU}, | ||
Q{$RAKUDO_MODULE_DEBUG}, | ||
Q{$REPO}, | ||
Q{$SCHEDULER}, | ||
Q{$SPEC}, | ||
Q{%ENV}, | ||
Q{&chdir}, | ||
).map: { $_ => 1 }; | ||
); | ||
|
||
my @unknown; | ||
@unknown.push($_) unless %allowed{$_}:exists for PROCESS::.keys; | ||
diag "Found {+@unknown} unexpected entries: { @unknown.sort }" unless | ||
ok @unknown == 0, "No unexpected entries in PROCESS::"; | ||
my $unknown = PROCESS::.keys (-) $allowed; | ||
diag "Found {+$unknown} unexpected entries: $unknown" unless | ||
ok $unknown == 0, "No unexpected entries in PROCESS::"; |