Skip to content

Commit

Permalink
Separate failing test for RT #114388
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Apr 17, 2015
1 parent 6edb64e commit 6f2fc2d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions S05-substitution/subst.t
Original file line number Diff line number Diff line change
Expand Up @@ -459,12 +459,7 @@ is '12'.subst(/(.)(.)/,{$()*2}),'24', '.. and do nifty things in closures';
}

# RT #114388
#?rakudo skip "No such method 'subst-mutate' for invocant of type 'Any'"
{
$_ = Nil;
s[ea] = "rea";
is $_, "", 'can use s[]="" when $_ is not set';

$_ = "real";
s[ea] = "rea";
is $_, "rreal", 's[]="" works when $_ is set';
Expand All @@ -474,6 +469,14 @@ is '12'.subst(/(.)(.)/,{$()*2}),'24', '.. and do nifty things in closures';
X::Syntax::Regex::NullRegex;
}

# RT #114388 -- part two
#?rakudo skip "RT #114388 -- No such method 'subst-mutate' for invocant of type 'Any'"
{
$_ = Any;
s[ea] = "rea";
is $_, "", 'can use s[]="" when $_ is not set';
}

done;

# vim: ft=perl6

0 comments on commit 6f2fc2d

Please sign in to comment.