Skip to content

Commit cb97064

Browse files
committed
Revert "refudged parrot blank chars - still failing, e.g.:"
This reverts commit 03f5fc7. Accidently checked in other junk junk along with this refudge,
1 parent d262e2e commit cb97064

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

S05-mass/charsets.t

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ plan 17;
2020

2121
is $latin-chars.comb(/<alnum>/).join, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ", 'alnum chars';
2222

23-
#?rakudo.parrot todo 'blank characters'
2423
is $latin-chars.comb(/<blank>/)>>.ord.join(","), '9,32,160', 'blank chars';
2524

2625
is $latin-chars.comb(/<cntrl>/)>>.ord.join(","), ((0..31, 127..159).join(",")), 'cntrl chars';
@@ -29,25 +28,15 @@ plan 17;
2928
#?rakudo.jvm todo 'Unicode 6.3 -- lower characters'
3029
is $latin-chars.comb(/<lower>/).join, "abcdefghijklmnopqrstuvwxyzµßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ", 'lower chars';
3130

32-
# unicode 6.1 reclassifies punctuation characters, so actual results may vary depending
31+
#++ FLAPPERS on jvm/parrot
32+
# unicode 6.1 reclassifies § and ¶ as punctuation characters, so actual results may vary depending
3333
# on unicode version bundled with jdk, icu etc.
34-
35-
my $punct-chars := q<!"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿>;
36-
my $punct-chars-pre61 := q<!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~> ~ chr(160) ~ q<¡¢£¤¥¦§¨©«¬­®¯°±²³´¶·¸¹»¼½¾¿×÷>;
37-
my $punct := $latin-chars.comb(/<punct>/).join;
38-
39-
#?rakudo.jvm todo "?"
40-
ok ($punct eq $punct-chars || $punct eq $punct-chars-pre61), 'punct chars'
41-
or diag "punct: $punct";
42-
my @punct = $punct.comb;
43-
my @punct-chars-pre61 = $punct-chars-pre61.comb;
44-
45-
$punct-chars := q<!"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿>;
46-
$punct-chars-pre61 := q<!"#%&'()*,-./:;?@[\]_{}¡«·»¿>;
47-
$punct := $latin-chars.comb(/<:Punctuation>/).join;
48-
49-
ok $punct eq $punct-chars || $punct eq $punct-chars-pre61, ':Punctuation chars'
50-
or diag ":Punctuation: $punct";
34+
#?rakudo.parrot todo 'punct characters'
35+
#?rakudo.jvm todo 'Unicode 6.1 -- punct characters'
36+
is $latin-chars.comb(/<punct>/).join, q<!"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿>, 'punct chars';
37+
#?rakudo.jvm todo 'Unicode 6.1 -- :Punctuation characters'
38+
is $latin-chars.comb(/<:Punctuation>/).join, q<!"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿>, ':Punctuation chars';
39+
#-- FLAPPERS
5140

5241
is $latin-chars.comb(/<upper>/).join, "ABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ", 'upper chars';
5342

0 commit comments

Comments
 (0)