From: Rafael Garcia-Suarez Date: Tue, 5 May 2009 07:55:27 +0000 (+0200) Subject: Add tests for @array ~~ $string X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1bef09e9115ebdc1c8818193d6c4cbb8bc050e6;p=p5sagit%2Fp5-mst-13.2.git Add tests for @array ~~ $string --- diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index b2a213e..cf819be 100644 --- a/t/op/smartmatch.t +++ b/t/op/smartmatch.t @@ -306,6 +306,10 @@ __DATA__ 12345 qr/3/ ! 12345 qr/7/ +# array against string + @fooormore "@fooormore" +! @keyandmore "@fooormore" + # Test the implicit referencing 7 @nums @nums \@nums