Skip to content

Commit 1cc6e47

Browse files
committed
rakudo (auto) (un)fudge
1 parent ebb9ec5 commit 1cc6e47

File tree

18 files changed

+36
-30
lines changed

18 files changed

+36
-30
lines changed

S02-lexical-conventions/unspace.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ eval_dies_ok('sub f { 3 } sub g { 3 }', 'semicolon or newline required between b
264264
$n = 1;
265265
#?rakudo skip 'dotty postfix'
266266
is($n.++, 1, 'postfix dot');
267-
#?rakudo skip 'test dependency'
267+
#?rakudo todo 'test dependency'
268268
is($n, 2, 'check $n');
269269

270270
$n = 1;
@@ -274,7 +274,7 @@ eval_dies_ok('sub f { 3 } sub g { 3 }', 'semicolon or newline required between b
274274
$n = 1;
275275
#?rakudo skip 'unspace + dotty postfix'
276276
is($n\ .++, 1, 'postfix unspace');
277-
#?rakudo skip 'test dependency'
277+
#?rakudo todo 'test dependency'
278278
is($n, 2, 'check $n');
279279

280280
# L<S02/"Bracketing Characters"/"U+301D codepoint has two closing alternatives">

S02-literals/listquote.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ eval_dies_ok '<STDIN>', '<STDIN> is disallowed';
7070
dies_ok {$c.push: 'd'}, '... which is immutable';
7171
}
7272

73-
#?rakudo skip 'magic type of <...> contents'
7473
{
7574
# L<S02/Forcing item context/For any item in the list that appears to be numeric>
7675
my @a = <foo 3 4.5 5.60 1.2e1>;
7776
is ~@a, 'foo 3 4.5 5.60 1.2e1',
7877
'<...> numeric literals stringify correctly';
7978
isa_ok @a[0], Str, '<foo ...> is a Str';
79+
#?rakudo 3 todo 'magic type of <...> contents'
8080
isa_ok @a[1], Int, '< ... 3 ...> is an Int';
8181
isa_ok @a[2], Rat, '< ... 4.5 ...> is a Rat';
8282
isa_ok @a[4], Num, '< ... 1.2e1 ...> is a Num';

S02-literals/pairs.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ sub f5 ($a) { WHAT($a) }
112112

113113
isa_ok f5(@array_of_pairs), Array,
114114
'an array of pairs is not treated magically...';
115-
#?rakudo skip 'prefix:<|>'
115+
#?rakudo todo 'prefix:<|>'
116116
#?niecza todo
117117
isa_ok f5(|@array_of_pairs), Array, '...and |@array isn\'t either';
118118
}
@@ -124,7 +124,7 @@ sub f6 ($a) { WHAT($a) }
124124

125125
ok (f6(%hash_of_pairs)).does(Hash), 'a hash is not treated magically...';
126126
#?pugs todo '[,]'
127-
#?rakudo skip 'reduce meta op'
127+
#?rakudo todo 'reduce meta op'
128128
#?niecza todo
129129
isa_ok f6([,] %hash_of_pairs), Str, '...but [,] %hash is';
130130
}

S02-literals/quoting.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Note that non-ASCII tests are kept in quoting-unicode.t
170170
171171
# quote with \0 as delimiters, forbidden by STD
172172
# but see L<news:20050101220112.GF25432@plum.flirble.org>
173-
#?rakudo skip 'retriage'
173+
#?rakudo todo 'retriage'
174174
#?pugs todo
175175
{
176176
eval_dies_ok "(q\0foo bar\0)";

S02-literals/radix.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ is(:8<200000>, 65536, 'got the correct int value from oct 200000');
140140
# setting the default radix
141141

142142
#?pugs todo 'feature'
143-
#?rakudo skip "Some question of what this form should actually do"
143+
#?rakudo todo "Some question of what this form should actually do"
144144
#?niecza todo ":radix() NYI"
145145
{
146146
is(:8('0b1110'), 0o14, ':8(0b1110) converts from decimal');

S02-magicals/sub.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sub postfix:<!!!> (Int $n) { $n < 2 ?? 1 !! $n * &?ROUTINE($n - 1) }
2525
my $result3 = 3!!!;
2626
is($result3, 6, 'the &?ROUTINE magical works correctly in overloaded operators' );
2727

28-
#?rakudo skip 'is this spec?'
28+
#?rakudo todo 'is this spec?'
2929
{
3030
my $baz = try { &?ROUTINE };
3131
ok(defined($baz), '&?ROUTINE is defined for the MAIN routine');

S02-names-vars/list_array_perl.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ my @tests = (
7777

7878
my @list = (1, 2);
7979
push @list, eval (3, 4).perl;
80-
#?rakudo skip "List.perl bug"
80+
#?rakudo todo "List.perl bug"
8181
#?niecza todo
8282
is +@list, 3, 'eval(@list.perl) gives a list, not an array ref';
8383
}

S02-names/pseudo.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,17 @@ plan 140;
169169
is OUR::A41.WHO.<$x>, 42, '$OUR:: can autovivify packages (binding)';
170170
#?rakudo emit #
171171
$::($our)::A42::x = 43;
172-
#?rakudo skip 'interpolation and auto-viv NYI'
172+
#?rakudo todo 'interpolation and auto-viv NYI'
173173
is ::($our)::A42.WHO.<$x>, 43, '::("OUR") can autovivify packages (r)';
174174

175175
#?rakudo emit #
176176
$::($our)::A43::x := 44;
177-
#?rakudo skip 'binding and interpolation together NYI'
177+
#?rakudo todo 'binding and interpolation together NYI'
178178
is ::($our)::A43.WHO.<$x>, 44, '::("OUR") can autovivify packages (b)';
179179

180180
#?rakudo emit #
181181
::($our)::A44 := class { our $x = 41; };
182-
#?rakudo skip 'binding and interpolation together NYI'
182+
#?rakudo todo 'binding and interpolation together NYI'
183183
is $::($our)::A44::x, 41, '::("OUR") can follow aliased packages';
184184
}
185185

S02-names/symbolic-deref.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ my $outer = 'outside';
152152
# Symbolic dereferentiation syntax should work with $?SPECIAL etc. too.
153153
# Note: I'm not 100% sure this is legal syntax. If it turns out it isn't, we'll
154154
# have to s/ok/dies_ok/.
155-
#?rakudo skip 'NYI'
156155
{
157156
try { die 'to set $!' };
158157
ok $::("!"), "symbolic dereferentiation works with special chars (1)";
159158
# ok $::!, "symbolic dereferentiation works with special chars (2)";
160159
#?pugs skip 'todo'
160+
#?rakudo todo 'NYI'
161161
ok ::("%*ENV"), "symbolic dereferentiation works with special chars (3)";
162162
# ok %::*ENV, "symbolic dereferentiation works with special chars (4)";
163163
}

S02-types/autovivification.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ plan 10;
3838
nok defined($b), '... to an undefined value';
3939
}
4040

41-
#?rakudo skip 'prefix:<\\>'
41+
#?rakudo todo 'prefix:<\\>'
4242
#?niecza todo 'disagree; captures should be context neutral'
4343
{
4444
my %a;
4545
my $b = \%a<b><c>;
4646
is %a.keys.elems, 1, 'capturing autovivifies.';
4747
}
4848

49-
#?rakudo skip 'get_pmc_keyed() not implemented in class Undef'
49+
#?rakudo todo 'get_pmc_keyed() not implemented in class Undef'
5050
{
5151
my %a;
5252
foo(%a<b><c>);

0 commit comments

Comments
 (0)