Permalink
Browse files

Add S04-statements/sink.t as a place to hold sink tests, starting wit…

…h RT #117235.
  • Loading branch information...
1 parent e08d8f4 commit b43c99fed6c9aa40aceaafd6f456d817e8119e0c @pmichaud pmichaud committed Mar 21, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 S04-statements/sink.t
View
@@ -0,0 +1,11 @@
+use v6;
+use Test;
+
+plan 1;
+
+# RT #117235
+{
+ my $c = [[1], [2], [3]].map( { $_ } );
+ $c.unshift(7);
+ is $c.elems, 4, ".unshift in sink context doesn't empty Array";
+}

0 comments on commit b43c99f

Please sign in to comment.