Skip to content

Commit

Permalink
rakudo un/refudges
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Dec 2, 2011
1 parent 336ec16 commit 827e592
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 deletions S05-match/arrayhash.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ plan 8;
# Matching against an array should be true if any of the values match.
my @a = ('a', 'b' );
ok(@a ~~ / 'b' /);
#?rakudo todo 'nom regression'
#?niecza todo
ok(@a ~~ / ^ 'b' /);
ok(@a ~~ / ^ 'a' /);
#?rakudo todo 'nom regression'
#?niecza todo
ok(@a ~~ / ^ 'a' $ /);

Expand Down
12 changes: 5 additions & 7 deletions S32-scalar/undef.t
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,14 @@ Perl6-specific tests
is(+$hash_r.keys, 0, "dangling hash reference");
}

#?rakudo skip 'autovivification'
{
my Array $an_ary;
ok(!defined($an_ary), "my Array");
#?rakudo todo 'nom regression'
ok((try { !defined($an_ary[0]) }), "my Array subscript - Mu");
try { $an_ary.push("blergh") };
#?rakudo todo 'nom regression'
ok((try { defined($an_ary.pop) }), "push");
#?rakudo todo 'nom regression'
ok((try { !defined($an_ary.pop) }), "comes to shove");
nok( defined($an_ary[0]) , "my Array subscript - Mu");
$an_ary.push("blergh");
ok(defined($an_ary.pop), "push");
nok(defined($an_ary.pop), "comes to shove");
}

#?rakudo skip 'Autovivify hashes'
Expand Down

0 comments on commit 827e592

Please sign in to comment.