Skip to content

Commit 03a7771

Browse files
committed
Properly fudge squish tests to Niecza and Pugs
1 parent 0d03605 commit 03a7771

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

S32-list/squish.t

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ This test tests the C<squish> builtin.
1010
1111
=end description
1212

13-
#?niecza todo 'NYI'
13+
#?pugs skip 'NYI'
14+
#?niecza skip 'NYI'
1415
{
1516
my @array = <a b b c d e f f a>;
1617
is_deeply @array.squish, <a b c d e f a>.list.item,
@@ -29,29 +30,32 @@ This test tests the C<squish> builtin.
2930
'slurpy subroutine form of squish works';
3031
} #1
3132

32-
#?pugs todo 'bug'
33-
#?niecza todo 'NYI'
33+
#?pugs skip 'NYI'
34+
#?niecza skip 'NYI'
3435
{
3536
is 42.squish, 42, ".squish can work on scalars";
3637
is (42,).squish, 42, ".squish can work on one-elem arrays";
3738
} #2
3839

39-
#?niecza todo 'NYI'
40+
#?pugs skip 'NYI'
41+
#?niecza skip 'NYI'
4042
{
4143
my class A { method Str { '' } };
4244
is (A.new, A.new).squish.elems, 2, 'squish has === semantics for objects';
4345
} #1
4446

45-
#?niecza todo 'NYI'
47+
#?pugs skip 'NYI'
48+
#?niecza skip 'NYI'
4649
{
4750
my @list = 1, "1";
4851
my @squish = squish(@list);
4952
is @squish, @list, "squish has === semantics for containers";
5053
} #1
5154

52-
#?niecza todo 'NYI'
55+
#?pugs skip 'NYI'
56+
#?niecza skip 'NYI'
5357
{
54-
my @a:= squish( 1..Inf );
58+
my @a := squish( 1..Inf );
5559
is @a[3], 4, "make sure squish is lazy";
5660
} #1
5761

0 commit comments

Comments
 (0)