Skip to content

Commit bae1108

Browse files
committed
Add test for RT #120656
1 parent 7edf26a commit bae1108

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

S32-hash/perl.t

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use v6;
22
use Test;
33

4-
plan 14;
4+
plan 15;
55

66
# simple hash
77
{
@@ -46,4 +46,11 @@ is-deeply (my %h{Int}).perl.EVAL.perl, '(my Any %{Int})',
4646
'can .perl.EVAL roundtrip a circular hash';
4747
}
4848

49+
# RT #120656
50+
{
51+
my %b = ^512;
52+
my %c = EVAL(%b.perl);
53+
is %c.elems, 256, 'Can create large hash with "=>", RT #120656'
54+
}
55+
4956
#vim: ft=perl6

0 commit comments

Comments
 (0)