Skip to content

Commit

Permalink
Unfudge now-passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jan 26, 2018
1 parent 2f29987 commit e39e5d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion S02-types/whatever.t
Expand Up @@ -363,7 +363,7 @@ is-deeply try { (1,2,3).combinations(2..*) }, ((1, 2), (1, 3), (2, 3), (1, 2, 3)
is-deeply @matches, [(), ("foo",), ("fie",), ()], 'outer parameter in rx in WhateverCode in closure';
}

#?rakudo.moar todo 'closure/scoping of topic when calling Whatevercode RT #126984'
# RT #126984
{
my sub foo($x) { (* ~ $x)($_) given $x };
is foo(1) ~ foo(2), '1122', 'topic refreshed in immediate invocation of WhateverCode';
Expand Down
1 change: 0 additions & 1 deletion S04-statements/for.t
Expand Up @@ -692,7 +692,6 @@ is (for 5 { (sub { "OH HAI" })() }), "OH HAI", 'Anon sub inside for works.';
{
my $out = '';
quietly $out ~= ("{$_}") for <aa bb>;
#?rakudo todo 'RT 128054'
is $out, 'aabb',
'topic of for loop has correct value in ("{$_}") construct';
}
Expand Down

0 comments on commit e39e5d7

Please sign in to comment.