From: Lukas Mai Date: Sun, 15 Sep 2013 14:43:00 +0000 (+0200) Subject: remove redundant '; 1' after require X-Git-Tag: v1.0301~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d34f4d9938bee8b5b8aed1865f9cca4e20d43a2;p=p5sagit%2FFunction-Parameters.git remove redundant '; 1' after require --- diff --git a/t/foreign/Method-Signatures/comments.t b/t/foreign/Method-Signatures/comments.t index d1369e6..58e1665 100644 --- a/t/foreign/Method-Signatures/comments.t +++ b/t/foreign/Method-Signatures/comments.t @@ -3,7 +3,7 @@ use strict; use warnings FATAL => 'all'; use Test::More - eval { require Moose; 1 } + eval { require Moose } ? (tests => 5) : (skip_all => "Moose required for testing types") ; diff --git a/t/foreign/Method-Signatures/type_check.t b/t/foreign/Method-Signatures/type_check.t index 9fbb3e8..5d8a4ba 100644 --- a/t/foreign/Method-Signatures/type_check.t +++ b/t/foreign/Method-Signatures/type_check.t @@ -4,7 +4,7 @@ use strict; use warnings FATAL => 'all'; use Test::More - eval { require Moose; 1 } + eval { require Moose } ? () : (skip_all => "Moose required for testing types") ; diff --git a/t/info.t b/t/info.t index 57e2696..b708be5 100644 --- a/t/info.t +++ b/t/info.t @@ -3,7 +3,7 @@ use warnings FATAL => 'all'; use strict; use Test::More - eval { require Moo; 1 } + eval { require Moo } ? (tests => 122) : (skip_all => "Moo required for testing parameter introspection") ; diff --git a/t/types_moose.t b/t/types_moose.t index 1f5344d..2ab8741 100644 --- a/t/types_moose.t +++ b/t/types_moose.t @@ -3,7 +3,7 @@ use warnings FATAL => 'all'; use strict; use Test::More - eval { require Moose; 1 } + eval { require Moose } ? (tests => 49) : (skip_all => "Moose required for testing types") ; diff --git a/t/types_moose_2.t b/t/types_moose_2.t index 2533cfe..85efaaa 100644 --- a/t/types_moose_2.t +++ b/t/types_moose_2.t @@ -3,7 +3,7 @@ use warnings FATAL => 'all'; use strict; use Test::More - eval { require Moose::Util; 1 } + eval { require Moose::Util } ? (tests => 49) : (skip_all => "Moose required for testing types") ; diff --git a/t/types_moose_3.t b/t/types_moose_3.t index 8251c87..52dd01c 100644 --- a/t/types_moose_3.t +++ b/t/types_moose_3.t @@ -3,7 +3,7 @@ use warnings FATAL => 'all'; use strict; use Test::More - eval { require Moose; 1 } + eval { require Moose } ? (tests => 49) : (skip_all => "Moose required for testing types") ; diff --git a/t/types_moosex.t b/t/types_moosex.t index 4147216..a8df20c 100644 --- a/t/types_moosex.t +++ b/t/types_moosex.t @@ -3,7 +3,7 @@ use warnings FATAL => 'all'; use strict; use Test::More - eval { require MooseX::Types; 1 } + eval { require MooseX::Types } ? (tests => 49) : (skip_all => "MooseX::Types required for testing types") ;