summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-25 13:09:58 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-25 13:10:33 -0800
commit56f852c44b1c72f57e753eb5cc771010f4db40f9 (patch)
tree0c9e78b8d89968c0de4e5fa70dee5cc029148240 /ext
parent1cdc89d3a92704ca94e13c999401cd219d1c696f (diff)
downloadperl-56f852c44b1c72f57e753eb5cc771010f4db40f9.tar.gz
Supress warning in XS::APItest’s hash.t
Diffstat (limited to 'ext')
-rw-r--r--ext/XS-APItest/t/hash.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/XS-APItest/t/hash.t b/ext/XS-APItest/t/hash.t
index 06983c570d..1d01744151 100644
--- a/ext/XS-APItest/t/hash.t
+++ b/ext/XS-APItest/t/hash.t
@@ -254,7 +254,9 @@ sub test_precomputed_hashes {
fill_hash_with_nulls(\%h);
eval{ $h{84} = 1 };
pass 'no crash when writing to hash elem with null value';
- eval{ @h{85} = 1 };
+ eval{ no # silly
+ warnings; # thank you!
+ @h{85} = 1 };
pass 'no crash when writing to hash elem with null value via slice';
}