Permalink
Browse files

RT #73948: Z, flattens in list context

  • Loading branch information...
moritz committed Nov 18, 2012
1 parent a6be9c5 commit 60042a9ca010c97743799a294bfb1810cf8838f5
Showing with 4 additions and 2 deletions.
  1. +4 −2 S03-metaops/zip.t
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 23;
+plan 24;
ok eval('<a b> Z <c d>'), 'zip non-meta operator parses';
@@ -68,6 +68,8 @@ isa_ok (1 Z 2)[0], Parcel, 'zip returns a list of parcels';
is $l.[1].lol.elems, 3, 'Z, retains list associativity';
is $l.[2].lol.elems, 3, 'Z, retains list associativity';
}
-
+
+# RT #73948
+is (1, 2 Z, 3, 4).join('|'), '1|3|2|4', 'Z, flattens in list context';
# vim: ft=perl6

0 comments on commit 60042a9

Please sign in to comment.