summaryrefslogtreecommitdiff
path: root/ext/Hash-Util
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-30 14:52:02 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-30 15:11:57 +0100
commit30c4898dea6d34ffa9fd41bdf2de9890cc8fc5f9 (patch)
treee048fc9058ca4018a4c38f6558498d9cf44829ee /ext/Hash-Util
parenta0614a7b604f0f7f994a6210a436500d449c1384 (diff)
downloadperl-30c4898dea6d34ffa9fd41bdf2de9890cc8fc5f9.tar.gz
Remove the $ENV{PERL_CORE} boilerplate from Hash::Util's tests.
Diffstat (limited to 'ext/Hash-Util')
-rw-r--r--ext/Hash-Util/t/Util.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/Hash-Util/t/Util.t b/ext/Hash-Util/t/Util.t
index 7a52e8c79a..a7cd946786 100644
--- a/ext/Hash-Util/t/Util.t
+++ b/ext/Hash-Util/t/Util.t
@@ -2,10 +2,8 @@
BEGIN {
if ($ENV{PERL_CORE}) {
- chdir 't' if -d 't';
- @INC = '../lib';
require Config; import Config;
- keys %Config; # Silence warning
+ no warnings 'once';
if ($Config{extensions} !~ /\bHash\/Util\b/) {
print "1..0 # Skip: Hash::Util was not built\n";
exit 0;