X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpreload_xs.t;h=539b524b94c5b1bb4e72e72cf53ea35529dcdd05;hb=bca3f2efab473fb7b051661090eff0f6f80ba9be;hp=7270312242edf4380f468ef70a6f50c99592dcbf;hpb=02b1ee35a374abb39494e504f9847571f74cd4db;p=p5sagit%2FJSON-MaybeXS.git diff --git a/t/preload_xs.t b/t/preload_xs.t index 7270312..539b524 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 if !eval { require JSON::XS; JSON::XS->VERSION(3.0); 1; }, 'Test::More', skip_all => 'No JSON::XS'; use Test::More 0.88; use JSON::MaybeXS;