From: Florian Ragwitz Date: Wed, 7 Jan 2009 06:59:05 +0000 (+0000) Subject: Remove shebangs from tests. X-Git-Tag: 0.76~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=643f2f94ab780ca0c247cd36a88b13cc51d5c0fc;p=gitmo%2FClass-MOP.git Remove shebangs from tests. --- diff --git a/t/000_load.t b/t/000_load.t index 0b187e0..a69ba3a 100644 --- a/t/000_load.t +++ b/t/000_load.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/001_basic.t b/t/001_basic.t index a32333d..1e9fca0 100644 --- a/t/001_basic.t +++ b/t/001_basic.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/002_class_precedence_list.t b/t/002_class_precedence_list.t index 28d3291..25bfafc 100644 --- a/t/002_class_precedence_list.t +++ b/t/002_class_precedence_list.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/003_methods.t b/t/003_methods.t index 8582c05..519ed7c 100644 --- a/t/003_methods.t +++ b/t/003_methods.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/004_advanced_methods.t b/t/004_advanced_methods.t index d3fba8e..792b353 100644 --- a/t/004_advanced_methods.t +++ b/t/004_advanced_methods.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/005_attributes.t b/t/005_attributes.t index 770991d..12e2a01 100644 --- a/t/005_attributes.t +++ b/t/005_attributes.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/006_new_and_clone_metaclasses.t b/t/006_new_and_clone_metaclasses.t index 086c6db..9dae02f 100644 --- a/t/006_new_and_clone_metaclasses.t +++ b/t/006_new_and_clone_metaclasses.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/010_self_introspection.t b/t/010_self_introspection.t index 19eff89..f2dcff2 100644 --- a/t/010_self_introspection.t +++ b/t/010_self_introspection.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/011_create_class.t b/t/011_create_class.t index c30ddb7..839a8d9 100644 --- a/t/011_create_class.t +++ b/t/011_create_class.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/012_package_variables.t b/t/012_package_variables.t index 8df0668..860ddb5 100644 --- a/t/012_package_variables.t +++ b/t/012_package_variables.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/013_add_attribute_alternate.t b/t/013_add_attribute_alternate.t index 23ea0fe..1bb0f03 100644 --- a/t/013_add_attribute_alternate.t +++ b/t/013_add_attribute_alternate.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/014_attribute_introspection.t b/t/014_attribute_introspection.t index b02cfeb..7ba20c0 100644 --- a/t/014_attribute_introspection.t +++ b/t/014_attribute_introspection.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/015_metaclass_inheritance.t b/t/015_metaclass_inheritance.t index 20f7364..4fead06 100644 --- a/t/015_metaclass_inheritance.t +++ b/t/015_metaclass_inheritance.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/016_class_errors_and_edge_cases.t b/t/016_class_errors_and_edge_cases.t index 6365594..256d058 100644 --- a/t/016_class_errors_and_edge_cases.t +++ b/t/016_class_errors_and_edge_cases.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/017_add_method_modifier.t b/t/017_add_method_modifier.t index 079d921..4f5ed4f 100644 --- a/t/017_add_method_modifier.t +++ b/t/017_add_method_modifier.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/018_anon_class.t b/t/018_anon_class.t index 925d4bc..ffeea41 100644 --- a/t/018_anon_class.t +++ b/t/018_anon_class.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/019_anon_class_keep_alive.t b/t/019_anon_class_keep_alive.t index 00cbbf3..8ff651f 100644 --- a/t/019_anon_class_keep_alive.t +++ b/t/019_anon_class_keep_alive.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/020_attribute.t b/t/020_attribute.t index 4dfbc2e..cad88e2 100644 --- a/t/020_attribute.t +++ b/t/020_attribute.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/021_attribute_errors_and_edge_cases.t b/t/021_attribute_errors_and_edge_cases.t index aad2a34..9fa4705 100644 --- a/t/021_attribute_errors_and_edge_cases.t +++ b/t/021_attribute_errors_and_edge_cases.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/022_attribute_duplication.t b/t/022_attribute_duplication.t index e68b75b..013f909 100644 --- a/t/022_attribute_duplication.t +++ b/t/022_attribute_duplication.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/023_attribute_get_read_write.t b/t/023_attribute_get_read_write.t index d112536..cc08a5f 100644 --- a/t/023_attribute_get_read_write.t +++ b/t/023_attribute_get_read_write.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/024_attribute_initializer.t b/t/024_attribute_initializer.t index b982bf1..46f6c31 100644 --- a/t/024_attribute_initializer.t +++ b/t/024_attribute_initializer.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/030_method.t b/t/030_method.t index 2dbac40..4987909 100644 --- a/t/030_method.t +++ b/t/030_method.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/031_method_modifiers.t b/t/031_method_modifiers.t index 00f564a..4ab736f 100644 --- a/t/031_method_modifiers.t +++ b/t/031_method_modifiers.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/040_metaclass.t b/t/040_metaclass.t index 0cf20f9..72d0443 100644 --- a/t/040_metaclass.t +++ b/t/040_metaclass.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/041_metaclass_incompatibility.t b/t/041_metaclass_incompatibility.t index d156c80..444019f 100644 --- a/t/041_metaclass_incompatibility.t +++ b/t/041_metaclass_incompatibility.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/042_metaclass_incompatibility_dyn.t b/t/042_metaclass_incompatibility_dyn.t index 2c6195c..2185566 100644 --- a/t/042_metaclass_incompatibility_dyn.t +++ b/t/042_metaclass_incompatibility_dyn.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/043_instance_metaclass_incompat.t b/t/043_instance_metaclass_incompat.t index 2fb4b30..55707f2 100644 --- a/t/043_instance_metaclass_incompat.t +++ b/t/043_instance_metaclass_incompat.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/044_instance_metaclass_incompat_dyn.t b/t/044_instance_metaclass_incompat_dyn.t index e85e742..464a6fb 100644 --- a/t/044_instance_metaclass_incompat_dyn.t +++ b/t/044_instance_metaclass_incompat_dyn.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/045_metaclass_loads_classes.t b/t/045_metaclass_loads_classes.t index e4b85ba..f41f220 100644 --- a/t/045_metaclass_loads_classes.t +++ b/t/045_metaclass_loads_classes.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/046_rebless_instance.t b/t/046_rebless_instance.t index 196039f..74a5502 100644 --- a/t/046_rebless_instance.t +++ b/t/046_rebless_instance.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/047_rebless_with_extra_params.t b/t/047_rebless_with_extra_params.t index e9bf9bb..1269d76 100644 --- a/t/047_rebless_with_extra_params.t +++ b/t/047_rebless_with_extra_params.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/048_anon_class_create_init.t b/t/048_anon_class_create_init.t index f95ade0..8583284 100644 --- a/t/048_anon_class_create_init.t +++ b/t/048_anon_class_create_init.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/050_scala_style_mixin_composition.t b/t/050_scala_style_mixin_composition.t index fca7310..7dcc949 100644 --- a/t/050_scala_style_mixin_composition.t +++ b/t/050_scala_style_mixin_composition.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/060_instance.t b/t/060_instance.t index 75a374e..b893744 100644 --- a/t/060_instance.t +++ b/t/060_instance.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/061_instance_inline.t b/t/061_instance_inline.t index 9689bba..95e986b 100644 --- a/t/061_instance_inline.t +++ b/t/061_instance_inline.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/070_immutable_metaclass.t b/t/070_immutable_metaclass.t index 42338ac..3814526 100644 --- a/t/070_immutable_metaclass.t +++ b/t/070_immutable_metaclass.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/071_immutable_w_custom_metaclass.t b/t/071_immutable_w_custom_metaclass.t index 440f400..bf8d748 100644 --- a/t/071_immutable_w_custom_metaclass.t +++ b/t/071_immutable_w_custom_metaclass.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/072_immutable_w_constructors.t b/t/072_immutable_w_constructors.t index 5e9c0a1..abed7a7 100644 --- a/t/072_immutable_w_constructors.t +++ b/t/072_immutable_w_constructors.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/073_make_mutable.t b/t/073_make_mutable.t index 7686031..dca59cd 100644 --- a/t/073_make_mutable.t +++ b/t/073_make_mutable.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/080_meta_package.t b/t/080_meta_package.t index 4ef0554..a82ff27 100644 --- a/t/080_meta_package.t +++ b/t/080_meta_package.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/081_meta_package_extension.t b/t/081_meta_package_extension.t index a9503b7..84ad5be 100644 --- a/t/081_meta_package_extension.t +++ b/t/081_meta_package_extension.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/082_get_code_info.t b/t/082_get_code_info.t index 700d36d..47dfa9e 100644 --- a/t/082_get_code_info.t +++ b/t/082_get_code_info.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/083_load_class.t b/t/083_load_class.t index d68166e..9b1d7fd 100644 --- a/t/083_load_class.t +++ b/t/083_load_class.t @@ -1,4 +1,3 @@ -#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 28; diff --git a/t/100_BinaryTree_test.t b/t/100_BinaryTree_test.t index f665d4e..16c1ca6 100644 --- a/t/100_BinaryTree_test.t +++ b/t/100_BinaryTree_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/101_InstanceCountingClass_test.t b/t/101_InstanceCountingClass_test.t index 9b7434e..155ea68 100644 --- a/t/101_InstanceCountingClass_test.t +++ b/t/101_InstanceCountingClass_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/102_InsideOutClass_test.t b/t/102_InsideOutClass_test.t index d6b80d9..242d161 100644 --- a/t/102_InsideOutClass_test.t +++ b/t/102_InsideOutClass_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/103_Perl6Attribute_test.t b/t/103_Perl6Attribute_test.t index 630f74a..8311d0f 100644 --- a/t/103_Perl6Attribute_test.t +++ b/t/103_Perl6Attribute_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/104_AttributesWithHistory_test.t b/t/104_AttributesWithHistory_test.t index aa6d327..7950ade 100644 --- a/t/104_AttributesWithHistory_test.t +++ b/t/104_AttributesWithHistory_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/105_ClassEncapsulatedAttributes_test.t b/t/105_ClassEncapsulatedAttributes_test.t index 9600e6a..3f29426 100644 --- a/t/105_ClassEncapsulatedAttributes_test.t +++ b/t/105_ClassEncapsulatedAttributes_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/106_LazyClass_test.t b/t/106_LazyClass_test.t index 5d6d1bf..a941c40 100644 --- a/t/106_LazyClass_test.t +++ b/t/106_LazyClass_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/107_C3MethodDispatchOrder_test.t b/t/107_C3MethodDispatchOrder_test.t index 5331463..b9b4bdb 100644 --- a/t/107_C3MethodDispatchOrder_test.t +++ b/t/107_C3MethodDispatchOrder_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/108_ArrayBasedStorage_test.t b/t/108_ArrayBasedStorage_test.t index 9161f17..f47b010 100644 --- a/t/108_ArrayBasedStorage_test.t +++ b/t/108_ArrayBasedStorage_test.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/200_Class_C3_compatibility.t b/t/200_Class_C3_compatibility.t index de38c8c..402fb8d 100644 --- a/t/200_Class_C3_compatibility.t +++ b/t/200_Class_C3_compatibility.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/300_random_eval_bug.t b/t/300_random_eval_bug.t index 9d2b19a..112ae87 100644 --- a/t/300_random_eval_bug.t +++ b/t/300_random_eval_bug.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; @@ -46,4 +44,4 @@ eval { my $c = Company->new(); $c->employees(); }; -ok($@, '... we die correctly with bad args'); \ No newline at end of file +ok($@, '... we die correctly with bad args'); diff --git a/t/301_RT_27329_fix.t b/t/301_RT_27329_fix.t index 6943d4c..bfb0fe3 100644 --- a/t/301_RT_27329_fix.t +++ b/t/301_RT_27329_fix.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/302_modify_parent_method.t b/t/302_modify_parent_method.t index d28db55..cc57cdd 100644 --- a/t/302_modify_parent_method.t +++ b/t/302_modify_parent_method.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/303_RT_39001_fix.t b/t/303_RT_39001_fix.t index f301cce..f7e21e4 100644 --- a/t/303_RT_39001_fix.t +++ b/t/303_RT_39001_fix.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; use Test::More tests => 3; diff --git a/t/304_constant_codeinfo.t b/t/304_constant_codeinfo.t index 463b4ca..2f15af2 100644 --- a/t/304_constant_codeinfo.t +++ b/t/304_constant_codeinfo.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; use Test::More tests => 2; diff --git a/t/305_RT_41255.t b/t/305_RT_41255.t index 3431127..8ecbbce 100644 --- a/t/305_RT_41255.t +++ b/t/305_RT_41255.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use Test::More tests => 20; use Test::Exception; diff --git a/t/pod.t b/t/pod.t index 4ae1af3..69d8e60 100644 --- a/t/pod.t +++ b/t/pod.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; diff --git a/t/pod_coverage.t b/t/pod_coverage.t index ad3ff87..eb119fd 100644 --- a/t/pod_coverage.t +++ b/t/pod_coverage.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings;