summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/core.t4
-rw-r--r--t/error.t4
2 files changed, 8 insertions, 0 deletions
diff --git a/t/core.t b/t/core.t
index 69c0942..9c646d4 100644
--- a/t/core.t
+++ b/t/core.t
@@ -3,6 +3,10 @@ use strict;
use warnings;
use Test::More;
+BEGIN {
+ plan skip_all => "xs version requires 5.11.2" unless $] >= 5.011002;
+}
+
use smartmatch 'core';
no warnings 'uninitialized';
diff --git a/t/error.t b/t/error.t
index edba950..1c8ea3f 100644
--- a/t/error.t
+++ b/t/error.t
@@ -3,6 +3,10 @@ use strict;
use warnings;
use Test::More;
+BEGIN {
+ plan skip_all => "xs version requires 5.11.2" unless $] >= 5.011002;
+}
+
my $foo = bless {};
my $bar = bless {};