Permalink
Browse files

fudge for niecza

  • Loading branch information...
coke committed Jan 11, 2012
1 parent 94faae3 commit 9f4b11fb2d39fd6d765f9bd0436a8aed52fc1ab9
Showing with 3 additions and 0 deletions.
  1. +3 −0 S32-list/create.t
View
@@ -16,10 +16,13 @@ isa_ok($list_sub, List, '&list() creates a list assignable to a scalar.');
is($list_sub, (1, 2, 3), 'The &list() function created a list.');
is(+$list_sub, 3, 'Finding the length of the list works as expected.');
+#?niecza skip 'Excess arguments to List.new, used 1 of 4 positionals'
+{
my $list_obj = List.new(4, 5, 6);
isa_ok($list_obj, List, 'Creating a new list object with new works.');
is($list_obj, list(4, 5, 6), 'The list object contains the right values.');
is(+$list_obj, 3, 'Finding the length functions properly.');
+}
# vim: ft=perl6

0 comments on commit 9f4b11f

Please sign in to comment.