From: Graham Knop Date: Tue, 19 Apr 2016 12:12:46 +0000 (-0400) Subject: stop using use_ok X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=437de023d51a9e398c5e371dec8e6631ab141367;p=gitmo%2FClass-C3-XS.git stop using use_ok --- diff --git a/t/00_load.t b/t/00_load.t deleted file mode 100644 index 5d7b70e..0000000 --- a/t/00_load.t +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; - -use Test::More tests => 1; - -BEGIN { - use_ok('Class::C3::XS'); -} diff --git a/t/01_MRO.t b/t/01_MRO.t index 32d99a2..6206e76 100644 --- a/t/01_MRO.t +++ b/t/01_MRO.t @@ -3,11 +3,9 @@ use strict; use warnings; -use Test::More tests => 2; +use Test::More tests => 1; -BEGIN { - use_ok('Class::C3::XS'); -} +use Class::C3::XS; =pod diff --git a/t/02_MRO.t b/t/02_MRO.t index 72001d0..39adb84 100644 --- a/t/02_MRO.t +++ b/t/02_MRO.t @@ -3,11 +3,9 @@ use strict; use warnings; -use Test::More tests => 7; +use Test::More tests => 6; -BEGIN { - use_ok('Class::C3::XS'); -} +use Class::C3::XS; =pod diff --git a/t/03_MRO.t b/t/03_MRO.t index 8ea22fe..b4cbeab 100644 --- a/t/03_MRO.t +++ b/t/03_MRO.t @@ -3,11 +3,9 @@ use strict; use warnings; -use Test::More tests => 2; +use Test::More tests => 1; -BEGIN { - use_ok('Class::C3::XS'); -} +use Class::C3::XS; =pod diff --git a/t/04_MRO.t b/t/04_MRO.t index 9297b58..360840a 100644 --- a/t/04_MRO.t +++ b/t/04_MRO.t @@ -3,11 +3,9 @@ use strict; use warnings; -use Test::More tests => 2; +use Test::More tests => 1; -BEGIN { - use_ok('Class::C3::XS'); -} +use Class::C3::XS; =pod diff --git a/t/30_next_method.t b/t/30_next_method.t index c488174..911b58c 100644 --- a/t/30_next_method.t +++ b/t/30_next_method.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More tests => 4; -BEGIN { use_ok('Class::C3::XS') } +use Class::C3::XS; =pod diff --git a/t/31_next_method_skip.t b/t/31_next_method_skip.t index 262eda7..710c073 100644 --- a/t/31_next_method_skip.t +++ b/t/31_next_method_skip.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 10; +use Test::More tests => 9; -BEGIN { use_ok('Class::C3::XS') } +use Class::C3::XS; =pod diff --git a/t/32_next_method_edge_cases.t b/t/32_next_method_edge_cases.t index 422f134..6c32894 100644 --- a/t/32_next_method_edge_cases.t +++ b/t/32_next_method_edge_cases.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 12; +use Test::More tests => 11; -BEGIN { use_ok('Class::C3::XS') } +use Class::C3::XS; { diff --git a/t/34_next_method_in_eval.t b/t/34_next_method_in_eval.t index 8dc9f44..a5ef30c 100644 --- a/t/34_next_method_in_eval.t +++ b/t/34_next_method_in_eval.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 2; +use Test::More tests => 1; -BEGIN { use_ok('Class::C3::XS') } +use Class::C3::XS; =pod diff --git a/t/35_next_method_in_anon.t b/t/35_next_method_in_anon.t index aa82f9c..b3b583b 100644 --- a/t/35_next_method_in_anon.t +++ b/t/35_next_method_in_anon.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 3; +use Test::More tests => 2; -BEGIN { use_ok('Class::C3::XS') } +use Class::C3::XS; =pod diff --git a/t/36_next_goto.t b/t/36_next_goto.t index 8766cf5..365b848 100644 --- a/t/36_next_goto.t +++ b/t/36_next_goto.t @@ -3,9 +3,9 @@ use strict; use warnings; -use Test::More tests => 5; +use Test::More tests => 4; -BEGIN { use_ok('Class::C3::XS') } +use Class::C3::XS; { package Proxy;