summaryrefslogtreecommitdiffstats
path: root/t/try
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-07-21 18:39:46 -0400
committerJesse Luehrs <doy@tozt.net>2013-07-21 18:39:46 -0400
commitdfed2b264de2652cfdeecbaf8cb9b059c77b44cf (patch)
treef6e1afd81c13dafe933e78476388e4092417fab4 /t/try
parenta1b9ebae67b4064c163e1b2189c4ec76de03565d (diff)
downloadparse-keyword-dfed2b264de2652cfdeecbaf8cb9b059c77b44cf.tar.gz
parse-keyword-dfed2b264de2652cfdeecbaf8cb9b059c77b44cf.zip
fix up deps
Diffstat (limited to 't/try')
-rw-r--r--t/try/basic.t2
-rw-r--r--t/try/context.t2
-rw-r--r--t/try/finally.t2
-rw-r--r--t/try/given_when.t2
-rw-r--r--t/try/syntax.t2
-rw-r--r--t/try/when.t2
6 files changed, 12 insertions, 0 deletions
diff --git a/t/try/basic.t b/t/try/basic.t
index 9d71138..cc837e3 100644
--- a/t/try/basic.t
+++ b/t/try/basic.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More;
use lib 't/try/lib';
+use Test::Requires 'Try::Tiny';
+
use Try;
sub _eval {
diff --git a/t/try/context.t b/t/try/context.t
index d5ebfe6..76ac585 100644
--- a/t/try/context.t
+++ b/t/try/context.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More;
use lib 't/try/lib';
+use Test::Requires 'Try::Tiny';
+
use Try;
my $ctx_index = {
diff --git a/t/try/finally.t b/t/try/finally.t
index e4ae792..15bdfb3 100644
--- a/t/try/finally.t
+++ b/t/try/finally.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More;
use lib 't/try/lib';
+use Test::Requires 'Try::Tiny';
+
use Try;
try {
diff --git a/t/try/given_when.t b/t/try/given_when.t
index 4cf8460..c3af21e 100644
--- a/t/try/given_when.t
+++ b/t/try/given_when.t
@@ -5,6 +5,8 @@ use Test::More;
use lib 't/try/lib';
use 5.014;
+use Test::Requires 'Try::Tiny';
+
no if $] >= 5.018, warnings => 'experimental::smartmatch';
use Try;
diff --git a/t/try/syntax.t b/t/try/syntax.t
index 8e8a6e0..6e4641c 100644
--- a/t/try/syntax.t
+++ b/t/try/syntax.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More;
use lib 't/try/lib';
+use Test::Requires 'Try::Tiny';
+
use Try;
my $err;
diff --git a/t/try/when.t b/t/try/when.t
index 6a0c075..96754aa 100644
--- a/t/try/when.t
+++ b/t/try/when.t
@@ -5,6 +5,8 @@ use Test::More;
use lib 't/try/lib';
use 5.014;
+use Test::Requires 'Try::Tiny';
+
no if $] >= 5.018, warnings => 'experimental::smartmatch';
use Try;