X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Fsmartmatch.t;h=3c6d1c3c9546eed7968992629524457524140c8a;hb=d279ab826c469db5d93d3d728fdcf1acd9265665;hp=6275f40b0f6e0a6961211c7912fe23f17d72ac48;hpb=0d863452f5cac86322a90184dc68dbf446006ed7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index 6275f40..3c6d1c3 100644 --- a/t/op/smartmatch.t +++ b/t/op/smartmatch.t @@ -48,10 +48,7 @@ sub match_test { my $tstr = "$left ~~ $right"; my $res; - { - use feature "~~"; - $res = eval $tstr // ""; #/ <- fix syntax colouring - } + $res = eval $tstr // ""; #/ <- fix syntax colouring die $@ if $@ ne ""; ok( ($yn =~ /!/ xor $res), "$tstr: $res");