diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-05 13:37:42 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-05 13:37:42 +0200 |
commit | d444f7e3a3d0965614439650519a7723933ea11f (patch) | |
tree | 795cb3f9c627d40cd6c4ac74b888b539ba041343 /t/op/smartmatch.t | |
parent | 9de654f174a7c7ca88031e2ac4a33add560d0c8c (diff) | |
download | perl-d444f7e3a3d0965614439650519a7723933ea11f.tar.gz |
Fix test for stringification of arrays.
Also add a similar test for hashes.
Diffstat (limited to 't/op/smartmatch.t')
-rw-r--r-- | t/op/smartmatch.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index cf819bea14..a1c1a06a9f 100644 --- a/t/op/smartmatch.t +++ b/t/op/smartmatch.t @@ -307,8 +307,10 @@ __DATA__ ! 12345 qr/7/ # array against string - @fooormore "@fooormore" -! @keyandmore "@fooormore" + @fooormore "".\@fooormore +! @keyandmore "".\@fooormore + %fooormore "".\%fooormore +! %keyandmore "".\%fooormore # Test the implicit referencing 7 @nums |