From: Dave Rolsky Date: Wed, 6 Aug 2008 18:39:05 +0000 (+0000) Subject: Missed a few use_ok calls that started warning now that Moose::Role X-Git-Tag: 0_55_01~43^2~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dfc199d466d13d1dc91a52fb9a820b49fa97ec7e;p=gitmo%2FMoose.git Missed a few use_ok calls that started warning now that Moose::Role warns when loaded into main. --- diff --git a/t/030_roles/002_role.t b/t/030_roles/002_role.t index 3b99de3..b03027d 100644 --- a/t/030_roles/002_role.t +++ b/t/030_roles/002_role.t @@ -3,13 +3,9 @@ use strict; use warnings; -use Test::More tests => 37; +use Test::More tests => 36; use Test::Exception; -BEGIN { - use_ok('Moose::Role'); -} - =pod NOTE: diff --git a/t/030_roles/003_apply_role.t b/t/030_roles/003_apply_role.t index 4be0dfa..d105868 100644 --- a/t/030_roles/003_apply_role.t +++ b/t/030_roles/003_apply_role.t @@ -3,13 +3,9 @@ use strict; use warnings; -use Test::More tests => 87; +use Test::More tests => 86; use Test::Exception; -BEGIN { - use_ok('Moose::Role'); -} - { package FooRole; use Moose::Role; diff --git a/t/030_roles/019_build.t b/t/030_roles/019_build.t index fe38736..03b149a 100644 --- a/t/030_roles/019_build.t +++ b/t/030_roles/019_build.t @@ -1,17 +1,13 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 7; +use Test::More tests => 6; # this test script ensures that my idiom of: # role: sub BUILD, after BUILD # continues to work to run code after object initialization, whether the class # has a BUILD method or not -BEGIN { - use_ok('Moose::Role'); -} - my @CALLS; do {