Skip to content

Commit

Permalink
[JVM] Unfudge two more (sub-)tests
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Apr 12, 2019
1 parent 04fad2c commit 072fe11
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions S32-io/io-cathandle.t
Expand Up @@ -697,7 +697,7 @@ subtest 'slurp method' => {
~ Blob[uint8].new(200, 200 ).decode('utf8-c8'),
':enc parameter works';

#?rakudo todo 'malformed 1-char slurp returns empty string RT#131379'
#?rakudo.moar todo 'malformed 1-char slurp returns empty string RT#131379'
# RT #131379
throws-like {
IO::CatHandle.new(files, make-temp-file content => Buf.new: 200).slurp
Expand Down Expand Up @@ -736,10 +736,7 @@ subtest 'Str method' => {
isa-ok $cat.Str, Str, '4';
}

#?rakudo.jvm skip 'UnwindException'
#?DOES 1
{
subtest 'Supply method' => {
subtest 'Supply method' => {
plan 5;
my @pieces = 'fo♥', 'b♥r', '', 'meow';
my $str = [~] @pieces;
Expand Down Expand Up @@ -794,7 +791,6 @@ subtest 'Str method' => {
react whenever $cat.Supply { @res.push: $_ }
is-deeply @res, [], 'supply on exhausted cat is empty (second call)';
}
}
}

subtest 't method' => {
Expand Down

0 comments on commit 072fe11

Please sign in to comment.