From: Florian Ragwitz Date: Tue, 10 Mar 2009 00:53:04 +0000 (+0100) Subject: Remove another unecessarily optional test plan. X-Git-Tag: 0.78_01~74 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e13df84f67250886afddc121d60d395156b65d2;p=gitmo%2FClass-MOP.git Remove another unecessarily optional test plan. --- diff --git a/t/003_methods.t b/t/003_methods.t index 519ed7c..b3dffb8 100644 --- a/t/003_methods.t +++ b/t/003_methods.t @@ -1,19 +1,11 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 66; use Test::Exception; use Scalar::Util qw/reftype/; - -BEGIN { - if ( eval 'use Sub::Name (); 1;' ) { - plan tests => 66; - } - else { - plan skip_all => 'These tests require Sub::Name'; - } -} +use Sub::Name; use Class::MOP; use Class::MOP::Class;