X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Fregexp.t;h=3cebee993a8b4f0f56ca247d3a383eeefd8df89d;hb=397cf4b72b64bab2d81c27006b39549ca667b5a8;hp=5a31696e58601f242ed140d3498cad4c6b43ca0c;hpb=ae09e25bf0cabefb94abad78965f21106553653c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/regexp.t b/t/op/regexp.t index 5a31696..3cebee9 100755 --- a/t/op/regexp.t +++ b/t/op/regexp.t @@ -69,7 +69,7 @@ while () { $expect =~ s/\\n/\n/g; $expect = $repl = '-' if $skip_amp and $input =~ /\$[&\`\']/; $skip = ($skip_amp ? ($result =~ s/B//i) : ($result =~ s/B//)); - $reason = $skip_amp ? 'skipping $&' : ''; + $reason = 'skipping $&' if $reason eq '' && $skip_amp; $result =~ s/B//i unless $skip; for $study ('', 'study \$subject') { $c = $iters;