From: Alexander Hartmaier Date: Fri, 16 Mar 2012 12:08:14 +0000 (+0100) Subject: removed unnecessary use of Test::Exception X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0034ff6946ef2782a34d5c1f333eb448833e46f;p=dbsrgits%2FDBIx-Class-Historic.git removed unnecessary use of Test::Exception ack -l Test::Exception t/ | xargs egrep -L 'lives_ok|dies_ok|throws_ok|lives_and' --- diff --git a/t/104view.t b/t/104view.t index e7eb46a..a13ea00 100644 --- a/t/104view.t +++ b/t/104view.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/67pager.t b/t/67pager.t index 406cd40..f768549 100644 --- a/t/67pager.t +++ b/t/67pager.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; use Storable qw/dclone/; diff --git a/t/747mssql_ado.t b/t/747mssql_ado.t index 71fc5b7..5c83ab8 100644 --- a/t/747mssql_ado.t +++ b/t/747mssql_ado.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use DBIx::Class::Optional::Dependencies (); use lib qw(t/lib); use DBICTest; diff --git a/t/inflate/datetime_firebird.t b/t/inflate/datetime_firebird.t index 6c41ac1..dc5357d 100644 --- a/t/inflate/datetime_firebird.t +++ b/t/inflate/datetime_firebird.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use DBIx::Class::Optional::Dependencies (); use lib qw(t/lib); use DBICTest; diff --git a/t/inflate/datetime_informix.t b/t/inflate/datetime_informix.t index bf23b72..8bbd524 100644 --- a/t/inflate/datetime_informix.t +++ b/t/inflate/datetime_informix.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use DBIx::Class::Optional::Dependencies (); use lib qw(t/lib); use DBICTest; diff --git a/t/inflate/datetime_msaccess.t b/t/inflate/datetime_msaccess.t index fdd2284..00450cd 100644 --- a/t/inflate/datetime_msaccess.t +++ b/t/inflate/datetime_msaccess.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use Scope::Guard (); use Try::Tiny; use DBIx::Class::Optional::Dependencies (); diff --git a/t/inflate/datetime_mssql.t b/t/inflate/datetime_mssql.t index 1c32f10..7f0173b 100644 --- a/t/inflate/datetime_mssql.t +++ b/t/inflate/datetime_mssql.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use Scope::Guard (); use Try::Tiny; use DBIx::Class::Optional::Dependencies (); diff --git a/t/inflate/datetime_sqlanywhere.t b/t/inflate/datetime_sqlanywhere.t index 152a789..676665f 100644 --- a/t/inflate/datetime_sqlanywhere.t +++ b/t/inflate/datetime_sqlanywhere.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use Scope::Guard (); use DBIx::Class::Optional::Dependencies (); use lib qw(t/lib); diff --git a/t/multi_create/cd_single.t b/t/multi_create/cd_single.t index 4d213c7..746eaab 100644 --- a/t/multi_create/cd_single.t +++ b/t/multi_create/cd_single.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/multi_create/has_many.t b/t/multi_create/has_many.t index 2d6818e..716a9a3 100644 --- a/t/multi_create/has_many.t +++ b/t/multi_create/has_many.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/multi_create/insert_defaults.t b/t/multi_create/insert_defaults.t index e8054a7..f69f36a 100644 --- a/t/multi_create/insert_defaults.t +++ b/t/multi_create/insert_defaults.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/multi_create/torture.t b/t/multi_create/torture.t index 1d3f23e..79338d7 100644 --- a/t/multi_create/torture.t +++ b/t/multi_create/torture.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/prefetch/attrs_untouched.t b/t/prefetch/attrs_untouched.t index 0526c4d..be336e4 100644 --- a/t/prefetch/attrs_untouched.t +++ b/t/prefetch/attrs_untouched.t @@ -1,7 +1,6 @@ use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/prefetch/correlated.t b/t/prefetch/correlated.t index e2b499b..401ff44 100644 --- a/t/prefetch/correlated.t +++ b/t/prefetch/correlated.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; use DBIC::SqlMakerTest; diff --git a/t/prefetch/double_prefetch.t b/t/prefetch/double_prefetch.t index f16ace6..efc9d2d 100644 --- a/t/prefetch/double_prefetch.t +++ b/t/prefetch/double_prefetch.t @@ -1,7 +1,6 @@ use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBIC::SqlMakerTest; use DBICTest; diff --git a/t/prefetch/grouped.t b/t/prefetch/grouped.t index 190bcb0..ffe94b8 100644 --- a/t/prefetch/grouped.t +++ b/t/prefetch/grouped.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/prefetch/join_type.t b/t/prefetch/join_type.t index 7b90c87..f077229 100644 --- a/t/prefetch/join_type.t +++ b/t/prefetch/join_type.t @@ -1,7 +1,6 @@ use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBIC::SqlMakerTest; use DBICTest; diff --git a/t/prefetch/multiple_hasmany.t b/t/prefetch/multiple_hasmany.t index 3853c68..a123208 100644 --- a/t/prefetch/multiple_hasmany.t +++ b/t/prefetch/multiple_hasmany.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; use IO::File; diff --git a/t/prefetch/one_to_many_to_one.t b/t/prefetch/one_to_many_to_one.t index daa76bd..f63716e 100644 --- a/t/prefetch/one_to_many_to_one.t +++ b/t/prefetch/one_to_many_to_one.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/prefetch/standard.t b/t/prefetch/standard.t index c961c37..56781be 100644 --- a/t/prefetch/standard.t +++ b/t/prefetch/standard.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; diff --git a/t/resultset/is_ordered.t b/t/resultset/is_ordered.t index fa0868e..39595a4 100644 --- a/t/resultset/is_ordered.t +++ b/t/resultset/is_ordered.t @@ -3,7 +3,6 @@ use warnings; use lib qw(t/lib); use Test::More; -use Test::Exception; use DBICTest; my $schema = DBICTest->init_schema(); diff --git a/t/resultset/is_paged.t b/t/resultset/is_paged.t index 08651d5..4f6af63 100644 --- a/t/resultset/is_paged.t +++ b/t/resultset/is_paged.t @@ -3,7 +3,6 @@ use warnings; use lib qw(t/lib); use Test::More; -use Test::Exception; use DBICTest; my $schema = DBICTest->init_schema(); diff --git a/t/resultset/nulls_only.t b/t/resultset/nulls_only.t index facf299..7f53d6d 100644 --- a/t/resultset/nulls_only.t +++ b/t/resultset/nulls_only.t @@ -3,7 +3,6 @@ use warnings; use lib qw(t/lib); use Test::More; -use Test::Exception; use DBICTest; my $schema = DBICTest->init_schema(); diff --git a/t/row/find_one_has_many.t b/t/row/find_one_has_many.t index 92c5bd0..5e1e953 100644 --- a/t/row/find_one_has_many.t +++ b/t/row/find_one_has_many.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; use DBIC::DebugObj; diff --git a/t/search/distinct.t b/t/search/distinct.t index 5ec213a..1060541 100644 --- a/t/search/distinct.t +++ b/t/search/distinct.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBIC::SqlMakerTest; diff --git a/t/search/related_strip_prefetch.t b/t/search/related_strip_prefetch.t index 1a9c399..19d534e 100644 --- a/t/search/related_strip_prefetch.t +++ b/t/search/related_strip_prefetch.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBIC::SqlMakerTest; diff --git a/t/storage/quote_names.t b/t/storage/quote_names.t index 6bb8bfd..cbf572a 100644 --- a/t/storage/quote_names.t +++ b/t/storage/quote_names.t @@ -1,7 +1,6 @@ use strict; use warnings; use Test::More; -use Test::Exception; use Data::Dumper::Concise; use Try::Tiny; use lib qw(t/lib);