Skip to content

Commit b718141

Browse files
committed
[JVM] Fudge some failing tests
1 parent 00587e5 commit b718141

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

S02-types/subset.t

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ subtest 'Junction arguments to `where` parameters' => {
224224
my subset Foo of Mu where Int|Bool;
225225
subtest 'implicit Mu, block, literal where' => {
226226
plan 4;
227+
#?rakudo.jvm todo 'got X::AdHoc'
227228
throws-like -> $ where Int|Bool { }(none True),
228229
X::TypeCheck::Binding::Parameter, 'Junction, false';
230+
#?rakudo.jvm todo 'got X::AdHoc'
229231
throws-like -> $ where Int|Bool { }(2e0),
230232
X::TypeCheck::Binding::Parameter, 'other, false';
231233

@@ -234,8 +236,10 @@ subtest 'Junction arguments to `where` parameters' => {
234236
}
235237
subtest 'subset, block' => {
236238
plan 4;
239+
#?rakudo.jvm todo 'got X::AdHoc'
237240
throws-like {-> Foo $ { }(none True)},
238241
X::TypeCheck::Binding::Parameter, 'Junction, false';
242+
#?rakudo.jvm todo 'got X::AdHoc'
239243
throws-like {-> Foo $ { }(2e0)},
240244
X::TypeCheck::Binding::Parameter, 'other, false';
241245

@@ -244,8 +248,10 @@ subtest 'Junction arguments to `where` parameters' => {
244248
}
245249
subtest 'subset, block, literal where' => {
246250
plan 4;
251+
#?rakudo.jvm todo 'got X::AdHoc'
247252
throws-like {-> Foo $ where Int|Bool { }(all True, 42e0)},
248253
X::TypeCheck::Binding::Parameter, 'Junction, false';
254+
#?rakudo.jvm todo 'got X::AdHoc'
249255
throws-like {-> Foo $ where Int|Bool { }(2e0)},
250256
X::TypeCheck::Binding::Parameter, 'other, false';
251257

@@ -255,8 +261,10 @@ subtest 'Junction arguments to `where` parameters' => {
255261

256262
subtest 'implicit Any, sub, literal where' => {
257263
plan 4;
264+
#?rakudo.jvm todo 'got X::AdHoc'
258265
throws-like sub ($ where Int|Bool) { }(none 42e0),
259266
X::TypeCheck::Binding::Parameter, 'Junction, false';
267+
#?rakudo.jvm todo 'got X::AdHoc'
260268
throws-like sub ($ where Int|Bool) { }(2e0),
261269
X::TypeCheck::Binding::Parameter, 'other, false';
262270

@@ -265,8 +273,10 @@ subtest 'Junction arguments to `where` parameters' => {
265273
}
266274
subtest 'subset, sub' => {
267275
plan 4;
276+
#?rakudo.jvm todo 'got X::AdHoc'
268277
throws-like {sub (Foo $) { }(none True)},
269278
X::TypeCheck::Binding::Parameter, 'Junction, false';
279+
#?rakudo.jvm todo 'got X::AdHoc'
270280
throws-like {sub (Foo $) { }(2e0)},
271281
X::TypeCheck::Binding::Parameter, 'other, false';
272282

@@ -275,8 +285,10 @@ subtest 'Junction arguments to `where` parameters' => {
275285
}
276286
subtest 'subset, sub, literal where' => {
277287
plan 4;
288+
#?rakudo.jvm todo 'got X::AdHoc'
278289
throws-like {sub (Foo $ where Int|Bool) { }(all True, 42e0)},
279290
X::TypeCheck::Binding::Parameter, 'Junction, false';
291+
#?rakudo.jvm todo 'got X::AdHoc'
280292
throws-like {sub (Foo $ where Int|Bool) { }(2e0)},
281293
X::TypeCheck::Binding::Parameter, 'other, false';
282294

S05-mass/properties-general.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ ok("\c[DEVANAGARI VOWEL SIGN AU]\c[SYRIAC ABBREVIATION MARK]" ~~ m/<:Format>/, q
814814

815815
is 'abc' ~~ /<:alpha>+/, 'abc', 'alpha chars';
816816

817+
#?rakudo.jvm todo 'get: Match.new(orig => "\t \t", pos => 2, made => Any, from => 1, list => (), hash => Map.new(()))'
817818
#?rakudo.js 1 skip 'test seems wrong'
818819
is "\t \t" ~~ /<:space>+/, "\t \t", 'space chars'; # RT #130483
819820

0 commit comments

Comments
 (0)