Skip to content

Commit

Permalink
[JVM] Re-fudge some tests for the JVM backend
Browse files Browse the repository at this point in the history
They are not passing there yet.
  • Loading branch information
usev6 committed Feb 5, 2022
1 parent b1349ef commit 0dba66e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S02-types/int-uint.t
Expand Up @@ -24,7 +24,9 @@ plan 11 * @inttypes + 4;
for @inttypes -> $type {
my ($minval,$maxval) = ::($type).Range.int-bounds;

# TODO: merge this if/else into one test once the fundge isn't needed
if $type eq "uint64" {
#?rakudo.jvm todo 'getting -1 instead of 18446744073709551615'
is EVAL("my $type \$var = $maxval; \$var"), $maxval,
"$type can be $maxval";
} else {
Expand Down
1 change: 1 addition & 0 deletions S09-typed-arrays/native-int.t
Expand Up @@ -319,6 +319,7 @@ for @uint -> $T {
is (@arr[0] = -1), -1, "assigning -1 on $t array passes value on through?";
# DRY once the failing cases pass. RT #124088
if $t eq "uint" or $t eq "uint64" {
#?rakudo.jvm todo 'highest bit length stays negative, RT #124088'
ok @arr[0] > 0, "negative value on $t array becomes positive";
}
elsif $t eq "uint32" {
Expand Down

0 comments on commit 0dba66e

Please sign in to comment.