Skip to content

Commit ef1d26d

Browse files
committed
Miscellaneous niecza unfudges
1 parent 7ad8b9d commit ef1d26d

File tree

7 files changed

+7
-16
lines changed

7 files changed

+7
-16
lines changed

S03-metaops/reduce.t

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ L<"http://groups.google.de/group/perl.perl6.language/msg/bd9eb275d5da2eda">
2323
is(([*] 1,2,3), (1*2*3), "[*] works");
2424
is(([-] 1,2,3), (1-2-3), "[-] works");
2525
is(([/] 12,4,3), (12/4/3), "[/] works");
26-
#?niecza skip 'div'
2726
is(([div] 12,4,3), (12 div 4 div 3), "[div] works");
2827
is(([**] 2,2,3), (2**2**3), "[**] works");
2928
is(([%] 13,7,4), (13%7%4), "[%] works");
30-
#?niecza skip 'mod'
3129
is(([mod] 13,7,4), (13 mod 7 mod 4), "[mod] works");
3230

3331
is((~ [\+] @array), "5 2 9 9 10 1", "[\\+] works");
@@ -61,7 +59,7 @@ L<"http://groups.google.de/group/perl.perl6.language/msg/bd9eb275d5da2eda">
6159
}
6260

6361
#?rakudo skip "=:= NYI"
64-
#?niecza skip "=:= NYI"
62+
#?niecza skip "reduce/binding interaction issues"
6563
{
6664
my ($x, $y);
6765
ok ( [=:=] $x, $x, $x), '[=:=] basic sanity 1';
@@ -105,14 +103,14 @@ L<"http://groups.google.de/group/perl.perl6.language/msg/bd9eb275d5da2eda">
105103
is ([+] [1, 2, 3, 4]), 4, '[+] does not flatten []-arrays';
106104
}
107105

108-
#?niecza skip 'Mu'
106+
#?niecza skip '[macro]'
109107
{
110108
my @array = (Mu, Mu, 3, Mu, 5);
111109
is ([//] @array), 3, "[//] works";
112110
is ([orelse] @array), 3, "[orelse] works";
113111
}
114112

115-
#?niecza skip 'Mu'
113+
#?niecza skip '[macro]'
116114
{
117115
my @array = (Mu, Mu, 0, 3, Mu, 5);
118116
is ([||] @array), 3, "[||] works";
@@ -123,7 +121,7 @@ L<"http://groups.google.de/group/perl.perl6.language/msg/bd9eb275d5da2eda">
123121
is (~ [\||] 0, 0, 3, 4, 5), "0 0 3 3 3", "[\\||] works";
124122
}
125123

126-
#?niecza skip 'Mu'
124+
#?niecza skip '[macro]'
127125
{
128126
my @array = (Mu, Mu, 0, 3, Mu, 5);
129127
my @array1 = (2, 3, 4);
@@ -217,7 +215,7 @@ ok( ([\<] 42) ~~ Iterable, "[\<] 42 returns something Iterable");
217215

218216
is( ([\*] 1..*).[^10].join(', '), '1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800',
219217
'triangle reduce is lazy');
220-
#?niecza skip 'char ranges'
218+
#?niecza skip 'Str cmp Inf'
221219
is( ([\R~] 'a'..*).[^8].join(', '), 'a, ba, cba, dcba, edcba, fedcba, gfedcba, hgfedcba',
222220
'triangle reduce is lazy');
223221

S03-operators/range-basic.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,21 +184,20 @@ ok 21 ~~ 3..50, '21 ~~ 3..50';
184184
nok 3 ~~ 11..50, 'not 3 ~~ 11..50';
185185
nok 21 ~~ 1..5, 'not 21 ~~ 1..5';
186186

187-
#?niecza 10 skip 'alphabetic ranges'
188187
ok 'c' ~~ 'b'..'g', "'c' ~~ 'b'..'g'";
189188
ok 'b' ~~ 'b'..'g', "'b' ~~ 'b'..'g'";
190189
ok 'g' ~~ 'b'..'g', "'g' ~~ 'b'..'g'";
191190
nok 'a' ~~ 'b'..'g', "not 'a' ~~ 'b'..'g'";
192191
nok 'h' ~~ 'b'..'g', "not 'h' ~~ 'b'..'g'";
193192
nok 0 ~~ 'a'..'g', "not 0 ~~ 'a'..'g'";
194193

194+
#?niecza 4 skip 'alphabetic/* ranges'
195195
ok 'd' ~~ 'c'..*, "'d' ~~ 'c'..*";
196196
nok 'b' ~~ 'c'..*, "not 'b' ~~ 'c'..*";
197197
ok 'b' ~~ *..'c', "'b' ~~ *..'c'";
198198
nok 'd' ~~ *..'c', "not 'd' ~~ *..'c'";
199199

200200
# RT#75526: [BUG] Some non-alphanumeric ranges don't work
201-
#?niecza skip 'alphabetic ranges'
202201
{
203202
ok ' ' ~~ ' '..' ', "' ' ~~ ' '..' '";
204203
ok ' ' ~~ ' '..'A', "' ' ~~ ' '..'A'";

S04-statement-modifiers/until.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ plan 4;
2828
is($a, "b, a, b, a", "post until");
2929
}
3030

31-
#?niecza skip "char ranges"
3231
{
3332
my @a = 'a'..'e';
3433
my $a = 0;

S04-statements/repeat.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ plan 16;
8585

8686
# L<S04/The C<repeat> statement/"bind the result">
8787
#?rakudo skip 'point block on loop'
88-
#?niecza skip 'point block on loop'
8988
{
9089
my $x = 0; repeat until $x >= 10 -> $another_x {
9190
pass('repeat until with binding starts undefined') unless $another_x.defined;

S04-statements/while.t

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ plan 9;
4848
#?mildew skip 1
4949
# L<S04/The C<for> statement/It is also possible to write>
5050
# while ... -> $x {...}
51-
#?niecza skip 'while -> $x'
5251
{
5352
my @array = 1..5;
5453
my $str = "";
@@ -59,7 +58,6 @@ plan 9;
5958
}
6059

6160
#?mildew skip 1
62-
#?niecza skip 'while -> $x'
6361
{
6462
my @array = 0..5;
6563
my $str = "";

S06-signature/slurpy-and-interpolation.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ dies_ok {
3535
sub f2(*%h) { f1(|%h) };
3636
lives_ok { f2( :a(1) ) },
3737
'Can interpolate hashes into slurpy named parameters';
38-
#?niecza skip 'eval return value'
3938
is eval(f2(:a(4))).<a>, 4, '... with a sane return value';
4039
}
4140

S32-array/push.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ plan 49;
4444
my @push_result = @p.push( 'yo, check it' );
4545

4646
is( +@p, 2, 'array received second element' );
47-
#?niecza skip 'return value of push'
47+
#?niecza skip 'Array.ACCEPTS'
4848
ok( @push_result ~~ @p, 'modified array, returned' );
4949
is( ~@p, 'bughunt yo, check it', '~@p' );
50-
#?niecza skip 'return value of push'
5150
is( ~@p.push('!'), 'bughunt yo, check it !', '~ on the push' );
5251
}
5352

0 commit comments

Comments
 (0)