From dfed2b264de2652cfdeecbaf8cb9b059c77b44cf Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 21 Jul 2013 18:39:46 -0400 Subject: fix up deps --- t/try/basic.t | 2 ++ t/try/context.t | 2 ++ t/try/finally.t | 2 ++ t/try/given_when.t | 2 ++ t/try/syntax.t | 2 ++ t/try/when.t | 2 ++ 6 files changed, 12 insertions(+) (limited to 't/try') 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; -- cgit v1.2.3-54-g00ecf