Browse files

[t/spec]: Fix/unfudge tests in passing-arrays.t .

git-svn-id: http://svn.pugscode.org/pugs@24864 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent af97463 commit 14a452f0a841cf26e816dc7da04e3e5b780b0479 pmichaud committed Jan 11, 2009
Showing with 1 addition and 4 deletions.
  1. +1 −4 S06-signature/passing-arrays.t
View
5 S06-signature/passing-arrays.t
@@ -9,8 +9,7 @@ plan 7;
return $x;
}
- is count([1, 2, 3, 4]), 1, 'count([1, 2, 3, 4])';
- #?rakudo skip 'temporary skip while adjusting ObjectRef'
+ is count([1, 2, 3, 4]), 4, 'count([1, 2, 3, 4])';
is count(my @b = 1, 2, 3, 4), 4, 'count(my @b = 1, 2, 3)';
is count((1, 2, 3)), 3, 'count((1, 2, 3))';
@@ -20,15 +19,13 @@ plan 7;
return $x;
}
- #?rakudo skip "not handling scalars being passed lists correctly"
is count2((1,2,3)), 1, 'count2((1,2,3))';
}
{
sub pa(@a) { @a.WHAT; }
my @b = 2, 3;
is pa(@b), 'Array', 'basic array type sanity';
- #?rakudo todo 'RT #61172'
dies_ok { pa(3) }, 'non-slurpy array does not take a single Int';
sub ph(%h) { 1 }

0 comments on commit 14a452f

Please sign in to comment.