Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (20 sloc) 0.708 kB
7a14a98 [t/spec] S02-builtin_data_types unicode.t from t/ No changes seemed t…
finanalyst authored
1 use v6;
2
3 use Test;
159f61d @coke .graphs is gone, remove tests and comments
coke authored
4 plan 5;
7a14a98 [t/spec] S02-builtin_data_types unicode.t from t/ No changes seemed t…
finanalyst authored
5
159f61d @coke .graphs is gone, remove tests and comments
coke authored
6 #L<S02/"Methods on Arrays"/".bytes, .codes">
7a14a98 [t/spec] S02-builtin_data_types unicode.t from t/ No changes seemed t…
finanalyst authored
7
8ebb19c @jnthn Pick example that really is 2 NFC codes.
jnthn authored
8 # LATIN CAPITAL LETTER C, COMBINING DOT BELOW
9 my Str $u = "\x[0043,0323]";
10 is $u.codes, 2, 'combining \x[0042,0323] is two codes';
7a14a98 [t/spec] S02-builtin_data_types unicode.t from t/ No changes seemed t…
finanalyst authored
11 is "foo\r\nbar".codes, 8, 'CRLF is 2 codes';
12
9c40515 @dnmfarrell fixed appended RT number to be within quoted string
dnmfarrell authored
13 #?rakudo.jvm todo "NFG on JVM RT #124500"
159f61d @coke .graphs is gone, remove tests and comments
coke authored
14 is $u.chars, 1, '.chars defaults to NFG';
7a14a98 [t/spec] S02-builtin_data_types unicode.t from t/ No changes seemed t…
finanalyst authored
15
af53c5a [t/spec] Additional tests for RT #65170
kyle authored
16 # RT #65170
9c40515 @dnmfarrell fixed appended RT number to be within quoted string
dnmfarrell authored
17 #?rakudo.jvm todo "NFG on JVM RT #124501"
af53c5a [t/spec] Additional tests for RT #65170
kyle authored
18 {
19 my $rt65170;
20
21 $rt65170 = "\c[LATIN CAPITAL LETTER A WITH DOT ABOVE, COMBINING DOT BELOW]";
159f61d @coke .graphs is gone, remove tests and comments
coke authored
22 is $rt65170.chars, 1, '.chars defaults to NFG (2)';
af53c5a [t/spec] Additional tests for RT #65170
kyle authored
23 $rt65170 = "\c[LATIN CAPITAL LETTER A, COMBINING DOT ABOVE, COMBINING DOT BELOW]";
159f61d @coke .graphs is gone, remove tests and comments
coke authored
24 is $rt65170.chars, 1, '.chars defaults to NFG (3)';
af53c5a [t/spec] Additional tests for RT #65170
kyle authored
25 }
26
57c3b22 [t/spec] remove some incorrect tests from unicode.t
moritz authored
27 #vim: ft=perl6
Something went wrong with that request. Please try again.