Skip to content

Commit c20e38e

Browse files
committed
[JVM] Fudge failing tests for encode-chars
1 parent e8e8329 commit c20e38e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

S32-encoding/encoder.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,19 @@ plan 4;
66
my $enc = Encoding::Registry.find('ascii').encoder();
77
is-deeply $enc.encode-chars('foo'), blob8.new(102,111,111),
88
'Can use ASCII encoder to encode';
9+
#?rakudo.jvm todo 'gives Blob[uint8]:0x<66 6f 6f 3f>'
910
dies-ok { $enc.encode-chars('foo£') },
1011
'Dies it try to encode disallowed char';
1112
}
1213

14+
#?rakudo.jvm skip 'encoding with replacement not yet implemented on JVM'
1315
{
1416
my $enc = Encoding::Registry.find('ascii').encoder(:replacement);
1517
is-deeply $enc.encode-chars('foo£'), blob8.new(102,111,111,63),
1618
'ASCII encoder configured to use default ASCII replacement works';
1719
}
1820

21+
#?rakudo.jvm skip 'encoding with replacement not yet implemented on JVM'
1922
{
2023
my $enc = Encoding::Registry.find('ascii').encoder(:replacement('f'));
2124
is-deeply $enc.encode-chars('foo£'), blob8.new(102,111,111,102),

0 commit comments

Comments
 (0)