X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpreload_xs.t;h=48dcf1d3c5c6534f996f45cb918d33861d13b22e;hb=HEAD;hp=7270312242edf4380f468ef70a6f50c99592dcbf;hpb=9c4f62de0ea3ed5602b99151e67d1d6228cebf99;p=p5sagit%2FJSON-MaybeXS.git diff --git a/t/preload_xs.t b/t/preload_xs.t index 7270312..48dcf1d 100644 --- a/t/preload_xs.t +++ b/t/preload_xs.t @@ -1,7 +1,7 @@ use strict; use warnings; -use if !eval { require JSON::XS; 1; }, 'Test::More', skip_all => 'No JSON::XS'; +use Test::Needs { 'JSON::XS' => '3.0' }; # load first, before JSON::MaybeXS use Test::More 0.88; use JSON::MaybeXS;