Permalink
Browse files

Fixed broken test, tweaked another to keep Niecza happy.

  • Loading branch information...
colomon committed Jan 12, 2012
1 parent e60ee59 commit ac43a256dc3ae2f92a1c3cca27c9f3cfad9bac78
Showing with 2 additions and 3 deletions.
  1. +2 −3 S03-operators/basic-types.t
@@ -46,7 +46,7 @@ my $s2 = {};
ok($s2 ~~ Hash, 'it is a Hash type (bare block)');
# L<S06/"Placeholder variables">
-my $s2a = { $^a };
+my $s2a = { $^aaa };
isa_ok($s2a, Block, 'it is a Parametric type (bare block with placeholder parameters)');
{
@@ -60,8 +60,7 @@ my $int = 0;
isa_ok($int, Int, 'it is an Int type');
my $num = '';
-#?rakudo todo 'nom regression'
-ok(+$num ~~ Num, 'it is an Num type');
+ok(+$num ~~ Real, 'it is an Real type');
my $float = 0.5e0;
isa_ok($float, Num, 'it is an Num type');

0 comments on commit ac43a25

Please sign in to comment.