diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-02-25 14:56:20 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-06 09:13:49 +0000 |
commit | f6e0b6da787118ff6d715e369cab0cb72038366d (patch) | |
tree | 08a6e2eb24ee9888783832a54bf382346580d2e0 /t | |
parent | 0f77baf62a0c7e94e448aeceaad28c256c525344 (diff) | |
download | perl-f6e0b6da787118ff6d715e369cab0cb72038366d.tar.gz |
Correct the skip count for t/op/switch.t under minitest.
Skip this section unconditionally under miniperl, rather than assuming that
Scalar::Util will fall back to a pure perl version if "installed" in lib/, but
dynamic loading is unavailable.
Diffstat (limited to 't')
-rw-r--r-- | t/op/switch.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/op/switch.t b/t/op/switch.t index a7123cb4ea..bcf77d4b4f 100644 --- a/t/op/switch.t +++ b/t/op/switch.t @@ -784,8 +784,7 @@ sub contains_x { } SKIP: { - skip "Scalar/Util.pm not yet available", 20 - unless -r "$INC[0]/Scalar/Util.pm"; + skip_if_miniperl("no dynamic loading on miniperl, no Scalar::Util", 14); # Test overloading { package OverloadTest; |