Skip to content

Commit

Permalink
[S02-types/parcel.t] added test about zen slicing
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Jan 6, 2012
1 parent e60e835 commit 73296d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-types/parcel.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 13;
plan 14;

isa_ok (5, 7, 8), Parcel, '(5, 7, 8) is Parcel';
is +(5, 7, 8), 3, 'prefix:<+> on a Parcel';
Expand All @@ -23,5 +23,6 @@ is (5, 7, 8).Array.elems, 3, '.Array contains the right number of elements';
is ?(), False, 'empty Parcel is False';
is ?(1,2,3), True, 'non-empty Parcel is True';

lives_ok { <5 7 8>[] }, 'can zen slice a Parcel';

# vim: ft=perl6

0 comments on commit 73296d8

Please sign in to comment.