Skip to content

Commit cbe2851

Browse files
committed
more Type() -> (Type) switching. Also unfudge a test for rakudo
1 parent 0512ff9 commit cbe2851

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

S02-types/undefined-types.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ plan 23;
4545
ok $obj.Stringy ~~ Stringy, '.Stringy returns a Stringy (Any)';
4646
ok $int.Stringy ~~ Stringy, '.Stringy returns a Stringy (Int)';
4747

48-
is $obj.gist, 'Any()', '.gist on type object gives Any()';
49-
is $int.gist, 'Int()', '.gist on type object gives Int()';
48+
is $obj.gist, '(Any)', '.gist on type object gives (Any)';
49+
is $int.gist, '(Int)', '.gist on type object gives (Int)';
5050

5151
is 'a' ~ $obj, 'a', 'infix:<~> uses coercion to Stringy (Any)';
5252
is 'a' ~ $int, 'a', 'infix:<~> uses coercion to Stringy (Int)';

S04-phasers/eval-in-begin.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ plan 3;
66
# RT #115134: [BUG] BEGIN { eval "..." } Confuses Rakudo
77
# The bug is triggered by the closing brace being directly
88
# followed by a newline and the next statement.
9-
#?rakudo todo 'RT #115134'
109
eval_lives_ok(q[BEGIN { eval '0' }
1110
0], 'eval in BEGIN { ... } followed by newline works');
1211

S12-class/type-object.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plan 6;
55

66
is Any.Str, '', 'Any.Str is empty string';
77
is Any.Stringy, '', 'Any.Str is empty string';
8-
is Any.gist, 'Any()', 'Any.gist has those parens';
8+
is Any.gist, '(Any)', 'Any.gist has those parens';
99

1010
# maybe a bit too retrictive?
1111
is Any.perl, 'Any', 'Any.perl does not have parens';

0 commit comments

Comments
 (0)