Skip to content

Commit 5394f05

Browse files
committed
reverse nonchar tests (fudged on rakudo for now)
1 parent 905aa8e commit 5394f05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

S29-conversions/ord_and_chr.t

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,9 @@ is chrs(104, 101, 108, 108, 111), 'hello', 'chrs works with a list of ints';
154154

155155
#?niecza 5 skip "chr handling of invalid code-points"
156156
dies_ok {chr(0xD800)}, "chr of surrogate";
157-
dies_ok {chr(0x2FFFE)}, "chr of noncharacter";
158-
dies_ok {chr(0x2FFFF)}, "chr of noncharacter";
157+
#?rakudo 2 skip "chr of noncharacter"
158+
lives_ok {chr(0x2FFFE)}, "chr of noncharacter";
159+
lives_ok {chr(0x2FFFF)}, "chr of noncharacter";
159160
dies_ok {chr(0x10FFFF+1)}, "chr out of range (max)";
160161
dies_ok {chr(-1)}, "chr out of range (negative)";
161162

0 commit comments

Comments
 (0)