From: Shawn M Moore Date: Tue, 21 Apr 2009 06:36:33 +0000 (-0400) Subject: Do not use no_plan! X-Git-Tag: 0.75_01~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f171ae1b45784b3819edd0fe233503a980a9a34;p=gitmo%2FMoose.git Do not use no_plan! --- diff --git a/t/040_type_constraints/031_subtype_auto_vivify_parent.t b/t/040_type_constraints/031_subtype_auto_vivify_parent.t index 9f446d6..5bd8f7a 100644 --- a/t/040_type_constraints/031_subtype_auto_vivify_parent.t +++ b/t/040_type_constraints/031_subtype_auto_vivify_parent.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More tests => 4; use Moose::Util::TypeConstraints; diff --git a/t/100_bugs/019_moose_octal_defaults.t b/t/100_bugs/019_moose_octal_defaults.t index 560eeff..dc97e20 100644 --- a/t/100_bugs/019_moose_octal_defaults.t +++ b/t/100_bugs/019_moose_octal_defaults.t @@ -1,5 +1,5 @@ #!/usr/bin/env perl -use Test::More qw(no_plan); +use Test::More tests => 10; { my $package = qq{ @@ -114,4 +114,4 @@ __PACKAGE__->meta->make_immutable; $@ ? ::fail($@) : ::pass('017600 octal default works'); my $obj = Test::Moose::Go::Boom5->new; ::is( $obj->id, '0 but true', 'value is still the same' ); -} \ No newline at end of file +} diff --git a/t/100_bugs/020_super_recursion.t b/t/100_bugs/020_super_recursion.t index 913765d..85d230c 100644 --- a/t/100_bugs/020_super_recursion.t +++ b/t/100_bugs/020_super_recursion.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More tests => 3; { package A; diff --git a/t/600_todo_tests/002_various_role_shit.t b/t/600_todo_tests/002_various_role_shit.t index f1fbc06..7a44274 100644 --- a/t/600_todo_tests/002_various_role_shit.t +++ b/t/600_todo_tests/002_various_role_shit.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More tests => 39; use Test::Exception; sub req_or_has ($$) { diff --git a/t/600_todo_tests/003_immutable_n_around.t b/t/600_todo_tests/003_immutable_n_around.t index 3f09630..a0ae5d5 100644 --- a/t/600_todo_tests/003_immutable_n_around.t +++ b/t/600_todo_tests/003_immutable_n_around.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More tests => 20; # if make_immutable is removed from the following code the tests pass diff --git a/t/600_todo_tests/005_moose_and_threads.t b/t/600_todo_tests/005_moose_and_threads.t index 7ccd607..b56a90f 100644 --- a/t/600_todo_tests/005_moose_and_threads.t +++ b/t/600_todo_tests/005_moose_and_threads.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More tests => 1; use Test::Exception;