Skip to content

Commit

Permalink
Map.perl preserves Map's scalar containeration
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Oct 6, 2017
1 parent 73b1038 commit 7de1138
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-hash/perl.t
Expand Up @@ -5,7 +5,7 @@ use lib 't/spec/packages';
use Test;
use Test::Idempotence;

plan 51;
plan 52;

# simple hash
{
Expand Down Expand Up @@ -74,4 +74,7 @@ is-deeply (my %h{Int}).perl.EVAL.perl, '(my Any %{Int})',
}
}

is (($ = Map.new: (:42a, :70b, :20c)).perl.EVAL,).flat.elems, 1,
"Map.perl preserves Map's scalar containeration";

#vim: ft=perl6

0 comments on commit 7de1138

Please sign in to comment.