Skip to content

Commit

Permalink
[jvm] Fudge some newly failing tests (RT #132673)
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Jan 1, 2018
1 parent dae62cb commit f481452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions S09-typed-arrays/hashes.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ plan 44;
{
my Int %h;
is %h.of, Int, 'my Int %h declares a Hash of Int';
#?rakudo.jvm todo 'info about parametric type is lost; RT #132673'
is %h.keyof, Str(Any), 'my Int %h declares a Hash with Str(Any) keys';
lives-ok { %h = (a => 3, b => 7) }, 'can assign Ints to an Hash of Int';
lives-ok { %h<foo> = 8 }, 'can assign Int to hash slot';
Expand Down
2 changes: 2 additions & 0 deletions S32-hash/perl.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ plan 52;
my $rh = EVAL(%h.perl);
is-deeply $rh, $%h, 'can we roundtrip simple hash';
is $rh.of, Mu, 'make sure any value can be stored';
#?rakudo.jvm todo 'info about parametric type is lost; RT #132673'
is $rh.keyof, Str(Any), 'make sure keys are Str(Any)';
} #4

Expand All @@ -26,6 +27,7 @@ plan 52;
my $rh = EVAL(%h.perl);
is-deeply $rh, %h, 'can we roundtrip hash constrained values';
is $rh.of, Int, 'make sure roundtripped values are Int';
#?rakudo.jvm todo 'info about parametric type is lost; RT #132673'
is $rh.keyof, Str(Any), 'make sure roundtripped keys are Str(Any)';
} #4

Expand Down

0 comments on commit f481452

Please sign in to comment.