diff options
Diffstat (limited to 't/op/smartmatch.t')
-rw-r--r-- | t/op/smartmatch.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index c480e0e14d..5fd35870b9 100644 --- a/t/op/smartmatch.t +++ b/t/op/smartmatch.t @@ -212,8 +212,8 @@ __DATA__ ! [1] \&foo ! {a=>1} \&foo # empty stuff matches, because the sub is never called: - [] \&foo - {} \&foo +! [] \&foo +! {} \&foo ! qr// \&foo ! undef \&foo undef \&bar @@ -224,8 +224,8 @@ __DATA__ @ "foo" \&fatal @ qr// \&fatal # sub is not called on empty hashes / arrays - [] \&fatal - +{} \&fatal +! [] \&fatal +! +{} \&fatal # - null-prototyped subs ! undef \&FALSE |