Skip to content

Commit 01c201d

Browse files
committed
fixed conflicts
2 parents 7b00258 + ef15dae commit 01c201d

File tree

7 files changed

+18
-31
lines changed

7 files changed

+18
-31
lines changed

S03-smartmatch/any-hash.t

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@ plan 6;
99
sub notautoquoted_a { 'a' };
1010
sub notautoquoted_c { 'c' };
1111

12-
#?rakudo todo 'nom regression'
1312
#?niecza todo
1413
ok (%h ~~ .{'c'}), '%hash ~~ .{true"}';
1514
ok !(%h ~~ .{'b'}), '%hash ~~ .{false"}';
1615
ok !(%h ~~ .{notautoquoted_a}), '~~. {notautoquoted_a}';
17-
#?rakudo todo 'nom regression'
1816
#?niecza todo
1917
ok (%h ~~ .{notautoquoted_c}), '~~. {notautoquoted_c}';
20-
#?rakudo todo 'nom regression'
2118
#?niecza todo
2219
ok (%h ~~ .<c>), '%hash ~~ .<true"}';
2320
ok !(%h ~~ .<b>), '%hash ~~ .<false"}';

S03-smartmatch/array-array.t

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,67 +12,51 @@ plan 36;
1212
ok(!([1] ~~ []), "array smartmatch boundary conditions");
1313
ok(([] ~~ []), "array smartmatch boundary conditions");
1414
ok(([1] ~~ [1]), "array smartmatch boundary conditions");
15-
#?rakudo todo 'nom regression'
1615
#?niecza todo
1716
#?pugs todo
1817
ok((1,2,3,4) ~~ (1,*), 'array smartmatch dwims * at end');
19-
#?rakudo todo 'nom regression'
2018
#?niecza todo
2119
#?pugs todo
2220
ok((1,2,3,4) ~~ (1,*,*), 'array smartmatch dwims * at end (many *s)');
23-
#?rakudo todo 'nom regression'
2421
#?niecza todo
2522
#?pugs todo
2623
ok((1,2,3,4) ~~ (*,4), 'array smartmatch dwims * at start');
27-
#?rakudo todo 'nom regression'
2824
#?niecza todo
2925
#?pugs todo
3026
ok((1,2,3,4) ~~ (*,*,4), 'array smartmatch dwims * at start (many *s)');
31-
#?rakudo todo 'nom regression'
3227
#?niecza todo
3328
#?pugs todo
3429
ok((1,2,3,4) ~~ (1,*,3,4), 'array smartmatch dwims * 1 elem');
35-
#?rakudo todo 'nom regression'
3630
#?niecza todo
3731
#?pugs todo
3832
ok((1,2,3,4) ~~ (1,*,*,3,4), 'array smartmatch dwims * 1 elem (many *s)');
39-
#?rakudo todo 'nom regression'
4033
#?niecza todo
4134
#?pugs todo
4235
ok((1,2,3,4) ~~ (1,*,4), 'array smartmatch dwims * many elems');
43-
#?rakudo todo 'nom regression'
4436
#?niecza todo
4537
#?pugs todo
4638
ok((1,2,3,4) ~~ (1,*,*,4), 'array smartmatch dwims * many elems (many *s)');
47-
#?rakudo todo 'nom regression'
4839
#?niecza todo
4940
#?pugs todo
5041
ok((1,2,3,4) ~~ (*,3,*), 'array smartmatch dwims * at start and end');
51-
#?rakudo todo 'nom regression'
5242
#?niecza todo
5343
#?pugs todo
5444
ok((1,2,3,4) ~~ (*,*,3,*,*), 'array smartmatch dwims * at start and end (many *s)');
55-
#?rakudo todo 'nom regression'
5645
#?niecza todo
5746
#?pugs todo
5847
ok((1,2,3,4) ~~ (*,1,2,3,4), 'array smartmatch dwims * can match nothing at start');
59-
#?rakudo todo 'nom regression'
6048
#?niecza todo
6149
#?pugs todo
6250
ok((1,2,3,4) ~~ (*,*,1,2,3,4), 'array smartmatch dwims * can match nothing at start (many *s)');
63-
#?rakudo todo 'nom regression'
6451
#?niecza todo
6552
#?pugs todo
6653
ok((1,2,3,4) ~~ (1,2,*,3,4), 'array smartmatch dwims * can match nothing in middle');
67-
#?rakudo todo 'nom regression'
6854
#?niecza todo
6955
#?pugs todo
7056
ok((1,2,3,4) ~~ (1,2,*,*,3,4), 'array smartmatch dwims * can match nothing in middle (many *s)');
71-
#?rakudo todo 'nom regression'
7257
#?niecza todo
7358
#?pugs todo
7459
ok((1,2,3,4) ~~ (1,2,3,4,*), 'array smartmatch dwims * can match nothing at end');
75-
#?rakudo todo 'nom regression'
7660
#?niecza todo
7761
#?pugs todo
7862
ok((1,2,3,4) ~~ (1,2,3,4,*,*), 'array smartmatch dwims * can match nothing at end (many *s)');
@@ -88,13 +72,11 @@ plan 36;
8872
ok (@a ~~ @a), 'Basic smartmatching on arrays (positive)';
8973
ok (@a !~~ @b), 'Basic smartmatching on arrays (negative)';
9074
ok (@b !~~ @a), 'Basic smartmatching on arrays (negative)';
91-
#?rakudo todo 'nom regression'
9275
#?niecza todo
9376
#?pugs todo
9477
ok (@a ~~ @m), 'Whatever dwimminess in arrays';
9578
ok (@a ~~ (1, 2, 3)), 'smartmatch Array ~~ List';
9679
ok ((1, 2, 3) ~~ @a), 'smartmatch List ~~ Array';
97-
#?rakudo todo 'nom regression'
9880
#?niecza todo
9981
#?pugs todo
10082
ok ((1, 2, 3) ~~ @m), 'smartmatch List ~~ Array with dwim';

S04-statements/gather.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ plan 28;
141141
'take with multiple arguments .flat tens out';
142142
}
143143

144-
#?rakudo skip 'nom regression (loops)'
144+
#?rakudo skip 'RT #117635 (infinite loop)'
145145
{
146146
my sub grep-div(@a, $n) {
147147
gather for @a {

S11-modules/require.t

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

88
lives_ok { require "t/spec/S11-modules/InnerModule.pm"; },
99
'can load InnerModule from a path at run time';
10+
#?pugs skip 'parsefail'
1011
is GLOBAL::InnerModule::EXPORT::DEFAULT::<&bar>(), 'Inner::bar', 'can call our-sub from required module';
1112

1213
my $name = 't/spec/S11-modules/InnerModule.pm';

S32-io/io-path.t

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
use v6;
22
use Test;
33

4-
plan 6;
4+
plan 12;
55

66
my $path = '/foo/bar.txt'.path;
7-
isa_ok $path, IO::Path;
8-
is $path.directory, '/foo', 'directory';
9-
is $path.basename, 'bar.txt', 'basename';
7+
isa_ok $path, IO::Path, "Str.path returns an IO::Path";
8+
#?rakudo 1 try '.volume NYI'
9+
is $path.volume, '', 'volume';
10+
is $path.directory, '/foo', 'directory';
11+
is $path.basename, 'bar.txt', 'basename';
12+
#?rakudo 2 try '.parent NYI'
13+
is $path.parent, '/foo', 'parent';
14+
is $path.parent.parent, '/', 'parent of parent';
15+
#?rakudo 2 try '.is-absolute, .is-relative NYI'
16+
is $path.is-absolute, True, 'is-absolute';
17+
is $path.is-relative, False, 'is-relative';
1018

11-
is '/'.path.path, '/', '.path.path roundtrips';
12-
is '///.'.path.path, '///.', '... even for weird cases';
13-
is 'foo.bar'.path.path, 'foo.bar', 'roundtrips for base names only';
19+
isa_ok $path.path, IO::Path, 'IO::Path.path returns IO::Path';
20+
is '/'.path.Str, '/', '.path.Str roundtrips';
21+
is '///.'.path.Str, '///.', '... even for weird cases';
22+
is 'foo/bar'.path.Str, 'foo/bar', 'roundtrips entire path';

S32-list/map_function_return_values.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ my %ret;
99

1010
# XXX depends on the Pair stringification which is likely going to change
1111

12-
#?rakudo skip "Awaiting p6l clarification on Hash composer/block"
1312
{
1413
%ret = map { $_ => uc $_; }, $text.comb;
1514
is ~%ret.sort, "a\tA b\tB c\tC", "=> works in a map block";

S32-num/stringify.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ Rat_str_test 1/1, '1/1', '1', '1.0';
7474
Rat_str_test 13/39, '1/3', '0.333333', '<1/3>';
7575
Rat_str_test 1000001/10000, '1000001/10000', '100.0001';
7676
Rat_str_test -1000001/10000, '-1000001/10000', '-100.0001';
77-
#?rakudo skip 'big stuff'
7877
Rat_str_test 555555555555555555555555555555555555555555555/5,
7978
'555555555555555555555555555555555555555555555/5',
8079
'111111111111111111111111111111111111111111111',

0 commit comments

Comments
 (0)