Skip to content

Commit

Permalink
Add test for RT #121434
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouq committed Apr 13, 2014
1 parent f57331b commit 7b9c4db
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion S32-list/uniq.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 32;
plan 33;

=begin description
Expand Down Expand Up @@ -142,4 +142,13 @@ This test tests the C<uniq> builtin.
"final result with [eqv] and objects in place";
} #4

# RT #121434
{
my %a;
%a<foo> = <a b c>;
%a<foo>.=uniq;
is_deeply %a<foo>, <a b c>.list.item,
"\%a<foo> not clobbered by .=uniq";
} # 1

# vim: ft=perl6

0 comments on commit 7b9c4db

Please sign in to comment.