Skip to content

Commit

Permalink
deconting array doesn't necessarily imply List
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Feb 28, 2015
1 parent feca340 commit 35b8f69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S02-types/array.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 98;
plan 97;

#L<S02/Mutable types/Array>

Expand Down Expand Up @@ -299,7 +299,6 @@ my @array2 = ("test", 1, Mu);
my @a = <1 2 3>;
is @a[*], <1 2 3> , 'using * to access all array elements works';
is @a[], <1 2 3>, 'using [] to listify all array elements works';
is @a[].gist, '(List)', 'using [] is equivalent to .list';

my $a = (1,2,3);
is ($a[] X~ 'a'), '1a 2a 3a', 'using [] decontainerizes';
Expand Down

0 comments on commit 35b8f69

Please sign in to comment.