break;
#endif
case CXt_SUBST:
- croak("%s() cannot target a substitution context", which);
+ croak("%s() can't target a substitution context", which);
break;
default:
- croak("%s() don't know how to leave a %s context",
+ croak("%s() doesn't know how to leave a %s context",
which, SU_CXNAME(cxstack + cxix));
break;
}
my $err = $@;
my $line = __LINE__-3;
like $err,
- qr/^yield\(\) cannot target a substitution context at \Q$0\E line $line/,
+ qr/^yield\(\) can't target a substitution context at \Q$0\E line $line/,
'yield() cannot exit subst';
}
my $err = $@;
my $line = __LINE__-3;
like $err,
- qr/^leave\(\) cannot target a substitution context at \Q$0\E line $line/,
+ qr/^leave\(\) can't target a substitution context at \Q$0\E line $line/,
'leave() cannot exit subst';
}