File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ This test tests the C<squish> builtin.
10
10
11
11
= end description
12
12
13
- # ?niecza todo 'NYI'
13
+ # ?pugs skip 'NYI'
14
+ # ?niecza skip 'NYI'
14
15
{
15
16
my @ array = <a b b c d e f f a >;
16
17
is_deeply @ array . squish, <a b c d e f a >. list. item,
@@ -29,29 +30,32 @@ This test tests the C<squish> builtin.
29
30
' slurpy subroutine form of squish works' ;
30
31
} # 1
31
32
32
- # ?pugs todo 'bug '
33
- # ?niecza todo 'NYI'
33
+ # ?pugs skip 'NYI '
34
+ # ?niecza skip 'NYI'
34
35
{
35
36
is 42 . squish, 42 , " .squish can work on scalars" ;
36
37
is (42 ,). squish, 42 , " .squish can work on one-elem arrays" ;
37
38
} # 2
38
39
39
- # ?niecza todo 'NYI'
40
+ # ?pugs skip 'NYI'
41
+ # ?niecza skip 'NYI'
40
42
{
41
43
my class A { method Str { ' ' } };
42
44
is (A. new , A. new ). squish. elems , 2 , ' squish has === semantics for objects' ;
43
45
} # 1
44
46
45
- # ?niecza todo 'NYI'
47
+ # ?pugs skip 'NYI'
48
+ # ?niecza skip 'NYI'
46
49
{
47
50
my @ list = 1 , " 1" ;
48
51
my @ squish = squish(@ list );
49
52
is @ squish , @ list , " squish has === semantics for containers" ;
50
53
} # 1
51
54
52
- # ?niecza todo 'NYI'
55
+ # ?pugs skip 'NYI'
56
+ # ?niecza skip 'NYI'
53
57
{
54
- my @ a := squish( 1 .. Inf );
58
+ my @ a := squish( 1 .. Inf );
55
59
is @ a [3 ], 4 , " make sure squish is lazy" ;
56
60
} # 1
57
61
You can’t perform that action at this time.
0 commit comments