Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
26 lines (20 sloc) 0.409 kB
use v6;
use Test;
plan 4;
#L<S02/Radix interpolation/"Characters indexed by hex numbers">
{
my @unicode =
'a', "\x61",
'æ', "\xE6",
'', "\x5583",
'𨮁', "\x28B81",
;
for @unicode -> $literal, $codepoint {
is(
$codepoint,
$literal,
'Does a character codepoint (\x..) evaluate to the same thing as its literal?'
);
}
}
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.