@@ -8,55 +8,56 @@ plan 38;
8
8
9
9
# Unicode variables
10
10
# english ;-)
11
- lives_ok {my $ foo ; sub foo {}; 1 }, " ascii declaration" ;
11
+ lives_ok {my $ foo ; sub foo {}; 1 }, " ascii declaration" ; # OK not used
12
12
is (do {my $ bar = 2 ; sub id ($ x ) { $ x }; id($ bar )}), 2 , " evaluation" ;
13
13
14
14
# umlauts
15
- lives_ok {my $ übervar ; sub f ü {}; 1 }, " umlauts declaration" ;
15
+ lives_ok {my $ übervar ; sub f ü {}; 1 }, " umlauts declaration" ; # OK not used
16
16
is (do {my $ schloß = 2 ; sub öok ($ x ) { $ x }; öok ($ schloß )}), 2 , " evaluation" ;
17
17
18
18
# monty python
19
- lives_ok {my $ møøse ; sub bïte {}; 1 }, " a møøse once bit my sister" ;
19
+ lives_ok {my $ møøse ; sub bïte {}; 1 }, " a møøse once bit my sister" ; # OK not used
20
20
is (do {my $ møøse = 2 ; sub såck ($ x ) { $ x }; s åck($ møøse )}), 2,
21
21
"møøse bites kan be preti nasti" ;
22
22
23
23
# french
24
- lives_ok { my $ un_variable_français ; sub bl â {}; 1 } , "french declaration" ;
24
+ lives_ok { my $ un_variable_français ; sub bl â {}; 1 } , "french declaration" ; # OK not used
25
25
is (do { my $ frénch = 2 ; sub bléch ($ x ) { $ x }; bléch($ frénch )} ), 2, "evaluation" ;
26
26
27
27
# Some Chinese Characters
28
- lives_ok { my $ 一 ; 1 } , "chinese declaration" ;
28
+ lives_ok { my $ 一 ; 1 } , "chinese declaration" ; # OK not used
29
29
is (do { my $ 二 = 2 ; sub 恆等($ x ) {$ x }; 恆等($ 二 )} ), 2, "evaluation" ;
30
30
31
31
# Tibetan Characters
32
- lives_ok { my $ ཀ ; 1 } , "tibetan declaration" ;
32
+ lives_ok { my $ ཀ ; 1 } , "tibetan declaration" ; # OK not used
33
33
is (do { my $ ཁ = 2 ; $ ཁ } ), 2, "evaluation" ;
34
34
35
35
# Japanese
36
- lives_ok { my $ い ; 1 } , "japanese declaration" ;
36
+ lives_ok { my $ い ; 1 } , "japanese declaration" ; # OK not used
37
37
is (do { my $ に = 2 ; $ に } ), 2, "evaluation" ;
38
38
39
39
# arabic
40
- lives_ok { my $ الصفحة ; 1 } , "arabic declaration" ;
40
+ lives_ok { my $ الصفحة ; 1 } , "arabic declaration" ; # OK not used
41
41
is (do { my $ الصفحة = 2 ; $ الصفحة } ), 2, "evaluation" ;
42
42
43
43
# hebrew
44
- lives_ok { my $ פוו ; sub לה {}; 1 } , "hebrew declaration" ;
44
+ lives_ok { my $ פוו ; sub לה {}; 1 } , "hebrew declaration" ; # OK not used
45
45
is (do { my $ באר = 2 ; sub זהות ($ x ) { $ x }; זהות($ באר )} ), 2, "evaluation" ;
46
46
47
47
# magyar
48
- lives_ok { my $ aáeéiíoóöőuúüű ; 1 } , "magyar declaration" ;
48
+ lives_ok { my $ aáeéiíoóöőuúüű ; 1 } , "magyar declaration" ; # OK not used
49
49
is (do { my $ áéóőöúűüí = 42 ; sub űáéóőöúüí ($ óőöú ) { $ óőöú }; űáéóőöúüí($ áéóőöúűüí )} ),
50
50
42, "evaluation" ;
51
51
52
52
# russian
53
- lives_ok { my $ один ; sub раз {}; 1 } , "russian declaration" ;
53
+ lives_ok { my $ один ; sub раз {}; 1 } , "russian declaration" ; # OK not used
54
54
is
55
55
(do { my $ два = 2 ; sub идентичный ($ x ) { $ x }; идентичный($ два )} ),
56
56
2,
57
57
"evaluation" ;
58
58
59
59
# ?rakudo 2 skip 'VOWEL SIGNs in identifiers'
60
+ # ?niecza 2 skip 'VOWEL SIGNs in identifiers'
60
61
lives_ok { my $ पहला = 1 ; } , "hindi declaration" ;
61
62
is((do { my $ दूसरा = 2 ; sub टोटल ($ x ) { $ x + 2 }; टोटल($ दूसरा ) } ), 4, "evaluation" );
62
63
@@ -79,17 +80,19 @@ is((do { my $दूसरा = 2; sub टोटल ($x) { $x + 2 }; टोटल
79
80
is abc(: äöü(42 )), 1042 , " Unicode named params (2)" ;
80
81
}
81
82
82
- # ?mildew skip 'placeholders are NIY'
83
83
# Unicode placeholder variables
84
+ # ?mildew skip 'placeholders are NIY'
85
+ # ?niecza skip 'ucfirst is NIY'
84
86
{
85
87
is
86
88
~ (< foostraße barstraße fakestraße >. map : { ucfirst $ ^ straßenname }),
87
89
" Foostraße Barstraße Fakestraße" ,
88
90
" Unicode placeholder variables" ;
89
91
}
90
92
91
- # ?mildew skip 'classes are NIY'
92
93
# Unicode methods and attributes
94
+ # ?mildew skip 'classes are NIY'
95
+ # ?niecza skip 'ucfirst is NIY'
93
96
{
94
97
class A {
95
98
has $ ! möp = ' pugs' ;
0 commit comments