Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for #126293
  • Loading branch information
lizmat committed Oct 8, 2015
1 parent 6fa03d9 commit 522ca4a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S32-list/squish.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 38;
plan 39;

=begin description
Expand Down Expand Up @@ -158,4 +158,10 @@ This test tests the C<squish> builtin and .squish method on Any/List.

my @a := (1, 2);
is ((3,3,1),@a,@a).squish.list.Str, '3 3 1 1 2', ".squish doesn't flatten";

# RT #126293
{
is <a a b b c c>.squish, <a b c>, 'do we squish at all?';
}

# vim: ft=perl6

0 comments on commit 522ca4a

Please sign in to comment.