Skip to content

Commit ec203fc

Browse files
committed
Unfudge all passing JVM specific todo'd tests
1 parent fa8e53d commit ec203fc

File tree

11 files changed

+0
-20
lines changed

11 files changed

+0
-20
lines changed

S04-phasers/begin.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ plan 11;
5858
1 1
5959
];
6060
}
61-
#?rakudo.jvm todo "?"
6261
is $tracker, 'begin',
6362
'BEGIN block was executed before a parse error happened later in the file';
6463

S04-phasers/eval-in-begin.t

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ plan 3;
66
# RT #115134: [BUG] BEGIN { EVAL "..." } Confuses Rakudo
77
# The bug is triggered by the closing brace being directly
88
# followed by a newline and the next statement.
9-
#?rakudo.jvm todo "?"
109
eval_lives_ok(q[BEGIN { EVAL '0' }
1110
0], 'EVAL in BEGIN { ... } followed by newline works');
1211

13-
#?rakudo.jvm todo "?"
1412
eval_lives_ok(q[BEGIN { EVAL '0' };
1513
0], 'EVAL in BEGIN { ... } followed by semicolon and newline works');
1614

17-
#?rakudo.jvm todo "?"
1815
eval_lives_ok(q[BEGIN { EVAL '0' };0], 'EVAL in BEGIN { ... } followed by semicolon works');
1916

S04-phasers/pre-post.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ dies_ok { $pt.test(1) }, 'POST receives return value as $_ (failure)';
111111
is $str, '(', 'failing PRE runs nothing else';
112112
}
113113

114-
#?rakudo.jvm todo "nigh"
115114
{
116115
my $str;
117116
try {

S06-macros/errors.t

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ use Test;
77
plan 2;
88

99
#RT #115506
10-
#?rakudo.jvm todo "?"
1110
eval_lives_ok
1211
'macro pathological { AST.new }; pathological();',
1312
"macro returning AST.new doesn't blow up";
1413

1514
#RT #115504
16-
#?rakudo.jvm todo "?"
1715
{
1816
try EVAL 'macro ma { die 1 }; ma';
1917
is $!, 1, "die-ing inside a macro dies normally.";

S10-packages/basic.t

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,9 @@ is Simple::Bar.new.baz, 'hi', 'class test';
6666
'WHO implementation with longname';
6767
}
6868

69-
#?rakudo.jvm todo "?"
7069
eval_lives_ok 'package A1 { role B1 {}; class C1 does A1::B1 {}} ',
7170
'can refer to role using package';
7271

73-
#?rakudo.jvm todo "?"
7472
{
7573
eval_lives_ok '{package A2 { role B2 {}; class C2 does B2 {} }}',
7674
'since role is in package should not need package name';
@@ -90,7 +88,6 @@ eval_lives_ok 'package A1 { role B1 {}; class C1 does A1::B1 {}} ',
9088

9189
try { EVAL '$x = RT64828r; role RT64828r {}' };
9290
ok $! ~~ Exception, 'reference to role before definition dies';
93-
#?rakudo.jvm todo "?"
9491
ok "$!" ~~ / RT64828r /, 'error message mentions the undefined role';
9592

9693
try { EVAL '$x = RT64828c; class RT64828c {}' };
@@ -107,7 +104,6 @@ eval_lives_ok 'package A1 { role B1 {}; class C1 does A1::B1 {}} ',
107104
eval_lives_ok '{ package C1Home { class Baz {} }; package C2Home { class Baz {} } }',
108105
'two different packages should be two different Baz';
109106

110-
#?rakudo.jvm todo "?"
111107
eval_lives_ok '{ package E1Home { enum EHomeE <a> }; package E2Home { role EHomeE {}; class EHomeC does E2Home::EHomeE {} } }',
112108
'two different packages should be two different EHomeE';
113109
}
@@ -187,7 +183,6 @@ eval_lives_ok q' module MapTester { (1, 2, 3).map: { $_ } } ',
187183
eval_lives_ok 'package RT64688_p2 { use Test }', 'use in package block';
188184
eval_lives_ok 'grammar RT64688_g1;use Test', 'use after grammar line';
189185
eval_lives_ok 'grammar RT64688_g2 { use Test }', 'use in grammar block';
190-
#?rakudo.jvm 2 todo "?"
191186
eval_lives_ok 'role RT64688_r1;use Test', 'use after role line';
192187
eval_lives_ok 'role RT64688_r2 { use Test }', 'use in role block';
193188
}

S12-class/augment-supersede.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ eval_dies_ok q[
4646
], 'cannot override a method by monkey-typing';
4747

4848
# RT #76600
49-
#?rakudo.jvm todo "?"
5049
eval_lives_ok q[
5150
use MONKEY-TYPING;
5251
role Bar { has $.counter; }

S12-class/basic.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class One::Two::Three { } # auto-vivifies package One::Two
9898
class One::Two { }
9999
ok(One::Two.new, 'created One::Two after One::Two::Three');
100100
dies_ok { EVAL 'class One::Two { }' }, 'cannot redeclare an existing class';
101-
#?rakudo.jvm todo "?"
102101
eval_lives_ok q[BEGIN {class Level1::Level2::Level3 {};}; class Level1::Level2 {};], 'RT #62898';
103102

104103
#?niecza skip "Methods must be used in some kind of package"

S12-class/stubs.t

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

88
eval_lives_ok q[ class StubA { ... }; class StubA { method foo { } }; ],
99
'Can stub a class, and later on declare it';
10-
#?rakudo.jvm todo "?"
1110
eval_lives_ok q[ role StubB { ... }; role StubB { method foo { } }; ],
1211
'Can stub a role, and later on declare it';
1312
eval_lives_ok q[ module StubC { ... }; module StubC { sub foo { } }; ],

S14-roles/lexical.t

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ Tests for lexical roles delcared with 'my role'
1212
# L<S12/Classes>
1313

1414
# A few basic tests.
15-
#?rakudo.jvm todo "?"
1615
eval_lives_ok 'my role R1 {}', 'my role parses OK';
17-
#?rakudo.jvm todo "?"
1816
eval_lives_ok '{ my role R2 {} }; { my role R2 {} }',
1917
'declare roles with the same name in two scopes.';
2018
eval_dies_ok '{ my class R3 {}; R3; }; R3',

S14-roles/stubs.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ role ProvidesStub2 { method a() { 2 } };
99

1010
dies_ok { EVAL 'class A does WithStub { }' },
1111
'need to implement stubbed methods at role-into-class composition time';
12-
#?rakudo.jvm todo "?"
1312
lives_ok { EVAL 'role B does WithStub { }' },
1413
'but roles are fine';
1514
lives_ok { EVAL 'class C does WithStub { method a() { 3 } }' },

0 commit comments

Comments
 (0)