Skip to content

Commit

Permalink
[JVM] Unfudge a few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Apr 12, 2019
1 parent 07ad1f2 commit 04fad2c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions S17-procasync/encoding.t
Expand Up @@ -10,8 +10,8 @@ plan 13;
$proc.stdout.tap(quit => { $quit = True });
$proc.stderr.tap(quit => { $oops = True });
await $proc.start;
#?rakudo.jvm todo 'unknown problem'
ok $quit, 'stdout Supply quit on encoding error';
#?rakudo.jvm todo 'quit on stderr gives same exception as on stdout'
nok $oops, 'No bogus quit on stderr Supply';
}

Expand All @@ -22,8 +22,8 @@ plan 13;
$proc.stdout.tap(quit => { $oops = True });
$proc.stderr.tap(quit => { $quit = True });
await $proc.start;
#?rakudo.jvm todo 'unknown problem'
ok $quit, 'stderr Supply quit on encoding error';
#?rakudo.jvm todo 'quit on stderr gives same exception as on stdout'
nok $oops, 'No bogus quit on stdout Supply';
}

Expand Down
1 change: 0 additions & 1 deletion S32-io/IO-Socket-Async.t
Expand Up @@ -125,7 +125,6 @@ $echoTap.close;
}

# RT #128862
#?rakudo.jvm skip 'hangs on JVM'
{
my $failed = False;
my $badInputTap = $server.tap(-> $c {
Expand Down
1 change: 0 additions & 1 deletion S32-io/io-handle.t
Expand Up @@ -196,7 +196,6 @@ subtest '.print-nl method' => {
given $file.IO {
.spurt: "fo♥o";
my $fh = .open(:enc<ascii>);
#?rakudo.jvm todo 'does not die'
dies-ok { $fh.slurp }, 'ASCII decode/encode dies with a catchable exception';
# R#2272
lives-ok { $fh.close }, 'closing after a decode error should work';
Expand Down

0 comments on commit 04fad2c

Please sign in to comment.