Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't fudge whole block for JVM (RT #124692)
  • Loading branch information
usev6 committed Jul 9, 2015
1 parent f6a7dfb commit 865092a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-str/substr.t
Expand Up @@ -40,11 +40,12 @@ plan 55;
is("砖讬注讘讜讚 讻讘专".substr(4, 4), "讜讚 讻", ".substr on Hebrew text");
}

#?rakudo.jvm skip 'java.nio.charset.MalformedInputException RT #124692'
{ # codepoints greater than 0xFFFF
my $str = join '', 0x10426.chr, 0x10427.chr;
#?rakudo.jvm todo 'codepoints greater than 0xFFFF RT #124692'
is $str.codes, 2, "Sanity check string";
#?niecza 2 todo "substr bug"
#?rakudo.jvm 2 skip 'java.nio.charset.MalformedInputException RT #124692'
is substr($str, 0, 1), 0x10426.chr, "Taking first char of Deseret string";
is substr($str, 1, 1), 0x10427.chr, "Taking second char of Deseret string";
}
Expand Down

0 comments on commit 865092a

Please sign in to comment.