Skip to content

Commit

Permalink
Fudges for S29
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 3, 2013
1 parent 57518a1 commit 3b585fa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions S29-conversions/ord_and_chr.t
Expand Up @@ -149,21 +149,19 @@ is (65..75).chrs, 'ABCDEFGHIJK', "there's a .chrs method";
is ('ABCDEFGHIJK').ords.chrs, 'ABCDEFGHIJK', "ords > chrs round-trips correctly";
is (65..75).chrs.ords, '65 66 67 68 69 70 71 72 73 74 75', "chrs > ords round-trips correctly";

#?rakudo skip 'multi-arg variants of chr not in place yet'
#?niecza skip "multi-arg variants of chr not in place yet"
is chr(104, 101, 108, 108, 111), 'hello', 'chr works with a list of ints';
is chrs(104, 101, 108, 108, 111), 'hello', 'chrs works with a list of ints';

#?niecza 4 skip "chr handling of invalid code-points"
dies_ok {chr(0xD800)}, "chr of surrogate";
dies_ok {chr(0x2FFFE)}, "chr of noncharacter";
dies_ok {chr(0x2FFFF)}, "chr of noncharacter";
dies_ok {chr(0x10FFFF+1)}, "chr out of range";

#?rakudo skip 'ord of empty string'
ok !defined(ord("")), 'ord("") returns an undefined value';

# RT #65172
#?rakudo skip 'RT 65172'
#?rakudo todo 'huh?'
#?niecza todo
{
is "\c[LATIN CAPITAL LETTER A, COMBINING DOT ABOVE]".ord,
Expand Down

0 comments on commit 3b585fa

Please sign in to comment.