Skip to content

Commit

Permalink
Test array elements get writable containers
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jan 19, 2017
1 parent f1640e9 commit 890ca31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S32-array/create.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 8;
plan 9;

# L<S32::Containers/"Array"/"=item ">

Expand All @@ -26,4 +26,8 @@ is(+$array_obj, 3, 'Finding the length functions properly.');
is-deeply [], $[], '[ ] creates Array';
}

# RT #130583
eval-lives-ok (1,2,3).Array[0]++,
'array elements get writable containers';

# vim: ft=perl6

0 comments on commit 890ca31

Please sign in to comment.