Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more Type() -> (Type) switching. Also unfudge a test for rakudo
  • Loading branch information
moritz committed Feb 24, 2013
1 parent 0512ff9 commit cbe2851
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions S02-types/undefined-types.t
Expand Up @@ -45,8 +45,8 @@ plan 23;
ok $obj.Stringy ~~ Stringy, '.Stringy returns a Stringy (Any)';
ok $int.Stringy ~~ Stringy, '.Stringy returns a Stringy (Int)';

is $obj.gist, 'Any()', '.gist on type object gives Any()';
is $int.gist, 'Int()', '.gist on type object gives Int()';
is $obj.gist, '(Any)', '.gist on type object gives (Any)';
is $int.gist, '(Int)', '.gist on type object gives (Int)';

is 'a' ~ $obj, 'a', 'infix:<~> uses coercion to Stringy (Any)';
is 'a' ~ $int, 'a', 'infix:<~> uses coercion to Stringy (Int)';
Expand Down
1 change: 0 additions & 1 deletion S04-phasers/eval-in-begin.t
Expand Up @@ -6,7 +6,6 @@ plan 3;
# RT #115134: [BUG] BEGIN { eval "..." } Confuses Rakudo
# The bug is triggered by the closing brace being directly
# followed by a newline and the next statement.
#?rakudo todo 'RT #115134'
eval_lives_ok(q[BEGIN { eval '0' }
0], 'eval in BEGIN { ... } followed by newline works');

Expand Down
2 changes: 1 addition & 1 deletion S12-class/type-object.t
Expand Up @@ -5,7 +5,7 @@ plan 6;

is Any.Str, '', 'Any.Str is empty string';
is Any.Stringy, '', 'Any.Str is empty string';
is Any.gist, 'Any()', 'Any.gist has those parens';
is Any.gist, '(Any)', 'Any.gist has those parens';

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

0 comments on commit cbe2851

Please sign in to comment.