Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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...
commit 14a452f0a841cf26e816dc7da04e3e5b780b0479 1 parent af97463
pmichaud authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. +1 4 S06-signature/passing-arrays.t
5 S06-signature/passing-arrays.t
@@ -9,8 +9,7 @@ plan 7;
9 9 return $x;
10 10 }
11 11
12   - is count([1, 2, 3, 4]), 1, 'count([1, 2, 3, 4])';
13   - #?rakudo skip 'temporary skip while adjusting ObjectRef'
  12 + is count([1, 2, 3, 4]), 4, 'count([1, 2, 3, 4])';
14 13 is count(my @b = 1, 2, 3, 4), 4, 'count(my @b = 1, 2, 3)';
15 14 is count((1, 2, 3)), 3, 'count((1, 2, 3))';
16 15
@@ -20,7 +19,6 @@ plan 7;
20 19 return $x;
21 20 }
22 21
23   - #?rakudo skip "not handling scalars being passed lists correctly"
24 22 is count2((1,2,3)), 1, 'count2((1,2,3))';
25 23 }
26 24
@@ -28,7 +26,6 @@ plan 7;
28 26 sub pa(@a) { @a.WHAT; }
29 27 my @b = 2, 3;
30 28 is pa(@b), 'Array', 'basic array type sanity';
31   - #?rakudo todo 'RT #61172'
32 29 dies_ok { pa(3) }, 'non-slurpy array does not take a single Int';
33 30
34 31 sub ph(%h) { 1 }

0 comments on commit 14a452f

Please sign in to comment.
Something went wrong with that request. Please try again.