Skip to content

Commit

Permalink
[coverage] circumfix:<[ ]>() creates an Array
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 21, 2016
1 parent d6fff7c commit dbb376e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S32-array/create.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 6;
plan 8;

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

Expand All @@ -21,4 +21,9 @@ is(+$array_obj, 3, 'Finding the length functions properly.');
throws-like(q{ Array[Str].new(1, 2, "Foo") }, X::TypeCheck);
}

{ # coverage; 2016-09-21
is-deeply circumfix:<[ ]>(), $[], 'circumfix:<[ ]>() creates Array';
is-deeply [], $[], '[ ] creates Array';
}

# vim: ft=perl6

0 comments on commit dbb376e

Please sign in to comment.