summaryrefslogtreecommitdiff
path: root/t/interop.t
diff options
context:
space:
mode:
Diffstat (limited to 't/interop.t')
-rw-r--r--t/interop.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/interop.t b/t/interop.t
index acb3fb0..bd7c7c9 100644
--- a/t/interop.t
+++ b/t/interop.t
@@ -81,7 +81,7 @@ subtest 'JSON::XS coercion', sub {
};
subtest 'Cpanel::JSON::XS coercion', sub {
- eval { require Cpanel::JSON::XS; 1 } or plan skip_all => 'Cpanel::JSON::XS not installed';
+ eval { require Cpanel::JSON::XS; require Cpanel::JSON::XS::Type; 1 } or return plan skip_all => 'Cpanel::JSON::XS not installed or too old';
my @extra = (
[ { type => 'num' }, '10', '10.0' ],
);