Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
niecza fudging
  • Loading branch information
coke committed Oct 16, 2011
1 parent a97d866 commit 946cccf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion S02-types/lists.t
Expand Up @@ -56,10 +56,10 @@ plan 29;
"using lists as lvalues works";
}

#?niecza todo
{
my $foo = 42;

#?niecza todo
lives_ok { ($foo, *) = (23, 24) },
"using lists with embedded Whatevers as lvalues works (1)";
ok $foo == 23,
Expand Down
1 change: 1 addition & 0 deletions S05-metasyntax/unknown.t
Expand Up @@ -29,6 +29,7 @@ lives_ok({"aa!" ~~ /'a'/}, 'quoted "a" is valid');
{
dies_ok {eval('/ a+ + /')}, 'Cannot parse regex a+ +';
#?rakudo todo 'RT 74832'
#?niecza todo
ok "$!" ~~ /:i quantif/, 'error message mentions quantif{y,ier}';
}

Expand Down
1 change: 0 additions & 1 deletion S06-routine-modifiers/scoped-named-subs.t
Expand Up @@ -43,7 +43,6 @@ eval_dies_ok
'my Num List sub f () { return ("A") }; f()',
'Return of list with wrong type dies';

#?niecza todo
eval_lives_ok
'my List sub f () { return () }; f()',
'return of empty list should live';
Expand Down
2 changes: 1 addition & 1 deletion S06-signature/passing-arrays.t
Expand Up @@ -30,10 +30,10 @@ plan 11;
sub pa(@a) { @a.WHAT; }
my @b = 2, 3;
isa_ok pa(@b), Array, 'basic array type sanity';
#?niecza todo
dies_ok { eval('pa(3)') }, 'non-slurpy array does not take a single Int';

sub ph(%h) { 1 } #OK not used
#?niecza todo 'sigil-implied types'
dies_ok { eval('ph(3)') }, 'an Int is not a Hash';
}

Expand Down

0 comments on commit 946cccf

Please sign in to comment.