From: Ricardo Signes Date: Mon, 25 Oct 2010 14:55:51 +0000 (-0400) Subject: remove unneeded use of Test::Fatal X-Git-Tag: 1.18~65 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d1c8ece1746518ea738c27bd1d7170e04246e543;p=gitmo%2FMoose.git remove unneeded use of Test::Fatal --- diff --git a/t/020_attributes/015_attribute_traits.t b/t/020_attributes/015_attribute_traits.t index 3f65560..a6fde4a 100644 --- a/t/020_attributes/015_attribute_traits.t +++ b/t/020_attributes/015_attribute_traits.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; use Test::Moose; diff --git a/t/020_attributes/016_attribute_traits_registered.t b/t/020_attributes/016_attribute_traits_registered.t index bfded60..48bca62 100644 --- a/t/020_attributes/016_attribute_traits_registered.t +++ b/t/020_attributes/016_attribute_traits_registered.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; use Test::Moose; diff --git a/t/020_attributes/017_attribute_traits_n_meta.t b/t/020_attributes/017_attribute_traits_n_meta.t index 4af9aeb..71a24cc 100644 --- a/t/020_attributes/017_attribute_traits_n_meta.t +++ b/t/020_attributes/017_attribute_traits_n_meta.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; use Test::Moose; diff --git a/t/020_attributes/018_no_init_arg.t b/t/020_attributes/018_no_init_arg.t index 22ef62a..b1b46ef 100644 --- a/t/020_attributes/018_no_init_arg.t +++ b/t/020_attributes/018_no_init_arg.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; diff --git a/t/020_attributes/020_trigger_and_coerce.t b/t/020_attributes/020_trigger_and_coerce.t index 39fd577..cfe3731 100644 --- a/t/020_attributes/020_trigger_and_coerce.t +++ b/t/020_attributes/020_trigger_and_coerce.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { diff --git a/t/020_attributes/025_chained_coercion.t b/t/020_attributes/025_chained_coercion.t index 79dcc7c..601a2fc 100644 --- a/t/020_attributes/025_chained_coercion.t +++ b/t/020_attributes/025_chained_coercion.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { package Baz; diff --git a/t/020_attributes/031_delegation_and_modifiers.t b/t/020_attributes/031_delegation_and_modifiers.t index 5b6f12a..341deec 100644 --- a/t/020_attributes/031_delegation_and_modifiers.t +++ b/t/020_attributes/031_delegation_and_modifiers.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { package Bar; diff --git a/t/030_roles/044_role_attrs.t b/t/030_roles/044_role_attrs.t index a5c4f6d..6c1ea8b 100644 --- a/t/030_roles/044_role_attrs.t +++ b/t/030_roles/044_role_attrs.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; use Moose (); use Moose::Meta::Role; diff --git a/t/040_type_constraints/002_util_type_constraints_export.t b/t/040_type_constraints/002_util_type_constraints_export.t index 6755a40..0ecd3fb 100644 --- a/t/040_type_constraints/002_util_type_constraints_export.t +++ b/t/040_type_constraints/002_util_type_constraints_export.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { package Foo; diff --git a/t/040_type_constraints/003_util_std_type_constraints.t b/t/040_type_constraints/003_util_std_type_constraints.t index 1e6423e..20c0f54 100644 --- a/t/040_type_constraints/003_util_std_type_constraints.t +++ b/t/040_type_constraints/003_util_std_type_constraints.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; use Scalar::Util (); diff --git a/t/040_type_constraints/004_util_find_type_constraint.t b/t/040_type_constraints/004_util_find_type_constraint.t index 45c1352..0f2773d 100644 --- a/t/040_type_constraints/004_util_find_type_constraint.t +++ b/t/040_type_constraints/004_util_find_type_constraint.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { use_ok('Moose::Util::TypeConstraints'); diff --git a/t/040_type_constraints/006_util_type_reloading.t b/t/040_type_constraints/006_util_type_reloading.t index b2d4b0e..af6285d 100644 --- a/t/040_type_constraints/006_util_type_reloading.t +++ b/t/040_type_constraints/006_util_type_reloading.t @@ -6,7 +6,6 @@ use warnings; use lib 't/lib', 'lib'; use Test::More; -use Test::Fatal; $SIG{__WARN__} = sub { 0 }; diff --git a/t/040_type_constraints/008_union_types.t b/t/040_type_constraints/008_union_types.t index c3fd98e..2a7fa5b 100644 --- a/t/040_type_constraints/008_union_types.t +++ b/t/040_type_constraints/008_union_types.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { use_ok('Moose::Util::TypeConstraints'); diff --git a/t/040_type_constraints/011_container_type_constraint.t b/t/040_type_constraints/011_container_type_constraint.t index a99e081..17ebe3d 100644 --- a/t/040_type_constraints/011_container_type_constraint.t +++ b/t/040_type_constraints/011_container_type_constraint.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { use_ok('Moose::Util::TypeConstraints'); diff --git a/t/040_type_constraints/012_container_type_coercion.t b/t/040_type_constraints/012_container_type_coercion.t index 76a276f..0e4f3eb 100644 --- a/t/040_type_constraints/012_container_type_coercion.t +++ b/t/040_type_constraints/012_container_type_coercion.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { use_ok('Moose::Util::TypeConstraints'); diff --git a/t/040_type_constraints/013_advanced_type_creation.t b/t/040_type_constraints/013_advanced_type_creation.t index be145b4..1350fdc 100644 --- a/t/040_type_constraints/013_advanced_type_creation.t +++ b/t/040_type_constraints/013_advanced_type_creation.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { use_ok('Moose::Util::TypeConstraints'); diff --git a/t/040_type_constraints/026_normalize_type_name.t b/t/040_type_constraints/026_normalize_type_name.t index e539d79..e6d7a5a 100644 --- a/t/040_type_constraints/026_normalize_type_name.t +++ b/t/040_type_constraints/026_normalize_type_name.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { use_ok('Moose::Util::TypeConstraints'); diff --git a/t/040_type_constraints/035_duck_type_handles.t b/t/040_type_constraints/035_duck_type_handles.t index cc3c169..67971b7 100644 --- a/t/040_type_constraints/035_duck_type_handles.t +++ b/t/040_type_constraints/035_duck_type_handles.t @@ -3,7 +3,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; my @phonograph; { diff --git a/t/050_metaclasses/001_custom_attr_meta_with_roles.t b/t/050_metaclasses/001_custom_attr_meta_with_roles.t index 78f93fa..dc2a473 100644 --- a/t/050_metaclasses/001_custom_attr_meta_with_roles.t +++ b/t/050_metaclasses/001_custom_attr_meta_with_roles.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { diff --git a/t/050_metaclasses/003_moose_w_metaclass.t b/t/050_metaclasses/003_moose_w_metaclass.t index d6810c3..bea90e5 100644 --- a/t/050_metaclasses/003_moose_w_metaclass.t +++ b/t/050_metaclasses/003_moose_w_metaclass.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; =pod diff --git a/t/050_metaclasses/004_moose_for_meta.t b/t/050_metaclasses/004_moose_for_meta.t index 02cc1bc..c8d187f 100644 --- a/t/050_metaclasses/004_moose_for_meta.t +++ b/t/050_metaclasses/004_moose_for_meta.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; =pod diff --git a/t/050_metaclasses/010_extending_and_embedding_back_compat.t b/t/050_metaclasses/010_extending_and_embedding_back_compat.t index 31301e4..c7a14eb 100644 --- a/t/050_metaclasses/010_extending_and_embedding_back_compat.t +++ b/t/050_metaclasses/010_extending_and_embedding_back_compat.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; BEGIN { diff --git a/t/050_metaclasses/017_use_base_of_moose.t b/t/050_metaclasses/017_use_base_of_moose.t index 31c672f..6a8d254 100644 --- a/t/050_metaclasses/017_use_base_of_moose.t +++ b/t/050_metaclasses/017_use_base_of_moose.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { package NoOpTrait; diff --git a/t/050_metaclasses/051_metarole_on_anon.t b/t/050_metaclasses/051_metarole_on_anon.t index 2c36d41..816e6b4 100644 --- a/t/050_metaclasses/051_metarole_on_anon.t +++ b/t/050_metaclasses/051_metarole_on_anon.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; use Moose (); use Moose::Meta::Class; diff --git a/t/050_metaclasses/061_moose_exporter_trait_aliases.t b/t/050_metaclasses/061_moose_exporter_trait_aliases.t index 909f684..a8149e5 100644 --- a/t/050_metaclasses/061_moose_exporter_trait_aliases.t +++ b/t/050_metaclasses/061_moose_exporter_trait_aliases.t @@ -3,7 +3,6 @@ use strict; use warnings; use Test::More; use Test::Moose; -use Test::Fatal; { package Attribute::Trait::Awesome; diff --git a/t/060_compat/002_moose_respects_base.t b/t/060_compat/002_moose_respects_base.t index 5933dd0..df23b74 100644 --- a/t/060_compat/002_moose_respects_base.t +++ b/t/060_compat/002_moose_respects_base.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; =pod diff --git a/t/070_native_traits/012_array_trigger.t b/t/070_native_traits/012_array_trigger.t index 151b900..419c303 100644 --- a/t/070_native_traits/012_array_trigger.t +++ b/t/070_native_traits/012_array_trigger.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { package Foo; diff --git a/t/070_native_traits/030_trait_code.t b/t/070_native_traits/030_trait_code.t index fa263f3..1590963 100644 --- a/t/070_native_traits/030_trait_code.t +++ b/t/070_native_traits/030_trait_code.t @@ -6,7 +6,6 @@ use lib 't/lib'; use Moose (); use NoInlineAttribute; use Test::More; -use Test::Fatal; use Test::Moose; { diff --git a/t/070_native_traits/052_hash_trigger.t b/t/070_native_traits/052_hash_trigger.t index 1136f24..1618f3c 100644 --- a/t/070_native_traits/052_hash_trigger.t +++ b/t/070_native_traits/052_hash_trigger.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { diff --git a/t/070_native_traits/053_hash_coerce.t b/t/070_native_traits/053_hash_coerce.t index 241c109..c8ae24d 100644 --- a/t/070_native_traits/053_hash_coerce.t +++ b/t/070_native_traits/053_hash_coerce.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { diff --git a/t/100_bugs/011_DEMOLISH_eats_exceptions.t b/t/100_bugs/011_DEMOLISH_eats_exceptions.t index 23d7a9b..9179597 100644 --- a/t/100_bugs/011_DEMOLISH_eats_exceptions.t +++ b/t/100_bugs/011_DEMOLISH_eats_exceptions.t @@ -5,7 +5,6 @@ use warnings; use FindBin; use Test::More; -use Test::Fatal; use Moose::Util::TypeConstraints; diff --git a/t/100_bugs/029_instance_application_role_args.t b/t/100_bugs/029_instance_application_role_args.t index 8ab6d56..405a6f3 100644 --- a/t/100_bugs/029_instance_application_role_args.t +++ b/t/100_bugs/029_instance_application_role_args.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { package Point; diff --git a/t/200_examples/001_example.t b/t/200_examples/001_example.t index b7247d6..a08aa38 100644 --- a/t/200_examples/001_example.t +++ b/t/200_examples/001_example.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; ## Roles diff --git a/t/200_examples/008_record_set_iterator.t b/t/200_examples/008_record_set_iterator.t index 6f050c7..4591919 100644 --- a/t/200_examples/008_record_set_iterator.t +++ b/t/200_examples/008_record_set_iterator.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; { diff --git a/t/600_todo_tests/005_moose_and_threads.t b/t/600_todo_tests/005_moose_and_threads.t index 67c4eb7..64ea2b8 100644 --- a/t/600_todo_tests/005_moose_and_threads.t +++ b/t/600_todo_tests/005_moose_and_threads.t @@ -4,7 +4,6 @@ use strict; use warnings; use Test::More; -use Test::Fatal; =pod