Skip to content

Commit 02c1b47

Browse files
committed
rakudo fudging
1 parent 203e22e commit 02c1b47

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

S02-lexical-conventions/comments.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ plan 46;
7171

7272
# L<S02/"User-selected Brackets"/"closed by" "same number of"
7373
# "closing brackets">
74+
#?rakudo skip 'nom regression'
7475
{
7576

7677
ok #`<<<

S03-operators/inplace.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use Test;
66

77
plan 28;
88

9+
#?rakudo todo 'nom regression'
910
{
1011
my @a = (1, 2, 3);
1112
lives_ok({@a .= map: { $_ + 1 }}, '.= runs with block');
@@ -14,6 +15,7 @@ plan 28;
1415
is(@a[2], 4, 'inplace map [2]');
1516
}
1617

18+
#?rakudo todo 'nom regression'
1719
{
1820
my @b = <foo 123 bar 456 baz>;
1921
#?niecza todo
@@ -26,6 +28,7 @@ plan 28;
2628
is @b[2], 'baz', 'inplace grep [2]';
2729
}
2830

31+
#?rakudo skip "Method '' not found for invocant of class 'Str'"
2932
{
3033
my $a=3.14;
3134
$a .= Int;

S03-operators/nesting.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ plan 26;
77

88
ok &infix:<+> === &[+], 'long and short form are the same (+)';
99
ok &infix:<==> === &[==], 'long and short form are the same (==)';
10+
#?rakudo skip 'nom regression'
1011
is sort( &[<=>], <5 3 2 1 4> ), <1 2 3 4 5>, 'sort works using &[<=>]';
1112

1213
is &[+](1, 2), 3, '&[+] as a function';
@@ -47,6 +48,7 @@ is (1 R[R[R-]] 2), 1, 'R[R[R-]] works';
4748
is (1 RR[R-] 2), 1, 'RR[R-] works';
4849

4950
# crazy stuff
51+
#?rakudo skip 'nom regression'
5052
{
5153
our sub infix:<blue>($a, $b) {
5254
$a % $b

S03-sequence/nonnumeric.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ plan 34;
3636
# character sequence
3737

3838
is ('a' ... 'g').join(', '), 'a, b, c, d, e, f, g', 'finite sequence started with one letter';
39+
#?rakudo skip 'nom regression'
3940
is ('a' ... *).[^7].join(', '), 'a, b, c, d, e, f, g', 'sequence started with one letter';
4041
is ('a', 'b' ... *).[^10].join(', '), 'a, b, c, d, e, f, g, h, i, j', 'sequence started with two different letters';
4142
is (<a b c> ... *).[^10].join(', '), "a, b, c, d, e, f, g, h, i, j", "character sequence started from array";
@@ -44,7 +45,9 @@ is (<z y> ... 'a').[^10].join(', '), 'z, y, x, w, v, u, t, s, r, q', 'descending
4445
is (<z y m> ... 'a').[^10].join(', '), 'z, y, m, l, k, j, i, h, g, f', 'descending sequence started with three different letters';
4546
is (<a b>, { .succ } ... *).[^7].join(', '), 'a, b, c, d, e, f, g', 'characters xand arity-1';
4647
is ('x' ... 'z').join(', '), 'x, y, z', "sequence ending with 'z' don't cross to two-letter strings";
48+
#?rakudo skip 'hangs'
4749
is ('A' ... 'z').elems, 'z'.ord - 'A'.ord + 1, "sequence from 'A' to 'z' is finite and of correct length";
50+
#?rakudo skip 'hangs'
4851
is ('α' ... 'ω').elems, 'ω'.ord - 'α'.ord + 1, "sequence from 'α' to 'ω' is finite and of correct length";
4952
#?rakudo 2 skip 'Unicode stuff'
5053
is ('' ... '').join(''), '☀☁☂☃☄★☆☇☈☉☊☋☌☍☎☏☐☑☒☓☔☕', "sequence from '☀' to '☕'";
@@ -54,6 +57,7 @@ is ('☀' ...^ '☕').join(''), '☀☁☂☃☄★☆☇☈☉☊☋☌☍☎
5457
# the tricky termination test
5558

5659
ok ('A' ... 'ZZ').munch(1000).elems < 1000, "'A' ... 'ZZ' does not go on forever";
60+
#?rakudo 2 skip 'Decrement out of range'
5761
ok ('ZZ' ... 'A').munch(1000).elems < 1000, "'ZZ' ... 'A' does not go on forever";
5862
ok ('Z' ... 'AA').munch(1000).elems < 1000, "'Z' ... 'AA' does not go on forever";
5963
is ('A' ...^ 'ZZ')[*-1], 'ZY', "'A' ...^ 'ZZ' omits last element";

S05-metasyntax/angle-brackets.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ character classes), and those are referenced at the correct spot.
154154

155155
# A leading @ matches like a bare array except that each element is
156156
# treated as a subrule (string or Regex object) rather than as a literal
157+
#?rakudo todo 'nom regression'
157158
{
158159
my @first = <a b c .**4>;
159160
ok('dddd' ~~ /<@first>/, 'strings are treated as a subrule in <@foo>');
@@ -175,6 +176,7 @@ character classes), and those are referenced at the correct spot.
175176

176177
# A leading { indicates code that produces a regex to be
177178
# interpolated into the pattern at that point as a subrule:
179+
#?rakudo skip 'null PMC'
178180
{
179181
ok('abcdef' ~~ /<{'<al' ~ 'pha>'}>/, 'code interpolation');
180182
}
@@ -221,6 +223,7 @@ character classes), and those are referenced at the correct spot.
221223
{
222224
ok('1./:"{}=-' ~~ /^[<!alpha> .]+$/, '<!alpha> matches non-letter characters');
223225
ok(!('abcdef' ~~ /<!alpha>./), '<!alpha> does not match letter characters');
226+
#?rakudo 2 skip 'no before'
224227
is(+('.2 1' ~~ /<!before 2> \d/), 1, '<!before>');
225228
is +$/.caps, 0, '<!before 2> does not capture';
226229
}

0 commit comments

Comments
 (0)