Skip to content

Commit ef6789c

Browse files
committed
Fudge S02-lexical-conventions/unicode.t for niecza
1 parent 140dea8 commit ef6789c

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

S02-lexical-conventions/unicode.t

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,56 @@ plan 38;
88

99
# Unicode variables
1010
# english ;-)
11-
lives_ok {my $foo; sub foo {}; 1}, "ascii declaration";
11+
lives_ok {my $foo; sub foo {}; 1}, "ascii declaration"; #OK not used
1212
is (do {my $bar = 2; sub id ($x) { $x }; id($bar)}), 2, "evaluation";
1313

1414
# umlauts
15-
lives_ok {my $übervar; sub fü {}; 1}, "umlauts declaration";
15+
lives_ok {my $übervar; sub fü {}; 1}, "umlauts declaration"; #OK not used
1616
is (do {my $schloß = 2; sub öok ($x) { $x }; öok($schloß)}), 2, "evaluation";
1717

1818
# 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
2020
is (do {my $møøse = 2; sub såck ($x) { $x }; såck($møøse)}), 2,
2121
"møøse bites kan be preti nasti";
2222
2323
# 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
2525
is (do {my $frénch = 2; sub bléch ($x) { $x }; bléch($frénch)}), 2, "evaluation";
2626
2727
# Some Chinese Characters
28-
lives_ok {my $; 1}, "chinese declaration";
28+
lives_ok {my $; 1}, "chinese declaration"; #OK not used
2929
is (do {my $ = 2; sub 恆等($x) {$x}; 恆等($)}), 2, "evaluation";
3030
3131
# Tibetan Characters
32-
lives_ok {my $; 1}, "tibetan declaration";
32+
lives_ok {my $; 1}, "tibetan declaration"; #OK not used
3333
is (do {my $ = 2; $}), 2, "evaluation";
3434
3535
# Japanese
36-
lives_ok {my $; 1}, "japanese declaration";
36+
lives_ok {my $; 1}, "japanese declaration"; #OK not used
3737
is (do {my $ = 2; $}), 2, "evaluation";
3838
3939
# arabic
40-
lives_ok {my $الصفحة ; 1}, "arabic declaration";
40+
lives_ok {my $الصفحة ; 1}, "arabic declaration"; #OK not used
4141
is (do {my $الصفحة = 2; $الصفحة}), 2, "evaluation";
4242
4343
# hebrew
44-
lives_ok {my $פוו; sub לה {}; 1}, "hebrew declaration";
44+
lives_ok {my $פוו; sub לה {}; 1}, "hebrew declaration"; #OK not used
4545
is (do {my $באר = 2; sub זהות ($x) { $x }; זהות($באר)}), 2, "evaluation";
4646
4747
# 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
4949
is (do {my $áéóőöúűüí = 42; sub űáéóőöúüí ($óőöú) { $óőöú }; űáéóőöúüí($áéóőöúűüí)}),
5050
42, "evaluation";
5151
5252
# russian
53-
lives_ok {my $один; sub раз {}; 1}, "russian declaration";
53+
lives_ok {my $один; sub раз {}; 1}, "russian declaration"; #OK not used
5454
is
5555
(do {my $два = 2; sub идентичный ($x) { $x }; идентичный($два)}),
5656
2,
5757
"evaluation";
5858
5959
#?rakudo 2 skip 'VOWEL SIGNs in identifiers'
60+
#?niecza 2 skip 'VOWEL SIGNs in identifiers'
6061
lives_ok { my $पहला = 1; }, "hindi declaration";
6162
is((do { my $दूसरा = 2; sub टोटल ($x) { $x + 2 }; टोटल($दूसरा) }), 4, "evaluation");
6263
@@ -79,17 +80,19 @@ is((do { my $दूसरा = 2; sub टोटल ($x) { $x + 2 }; टोटल
7980
is abc(:äöü(42)), 1042, "Unicode named params (2)";
8081
}
8182
82-
#?mildew skip 'placeholders are NIY'
8383
# Unicode placeholder variables
84+
#?mildew skip 'placeholders are NIY'
85+
#?niecza skip 'ucfirst is NIY'
8486
{
8587
is
8688
~(< foostraße barstraße fakestraße >.map: { ucfirst $^straßenname }),
8789
"Foostraße Barstraße Fakestraße",
8890
"Unicode placeholder variables";
8991
}
9092
91-
#?mildew skip 'classes are NIY'
9293
# Unicode methods and attributes
94+
#?mildew skip 'classes are NIY'
95+
#?niecza skip 'ucfirst is NIY'
9396
{
9497
class A {
9598
has $!möp = 'pugs';

0 commit comments

Comments
 (0)