From: Florian Ragwitz Date: Tue, 10 Mar 2009 00:12:58 +0000 (+0100) Subject: Remove optional test plan. X-Git-Tag: 0.78_01~77 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=532e6d2f4133820466766323b89711a09b533f3b;p=gitmo%2FClass-MOP.git Remove optional test plan. We have a hard dependency on Sub::Name now. --- diff --git a/t/082_get_code_info.t b/t/082_get_code_info.t index 7e1e6d8..a0026de 100644 --- a/t/082_get_code_info.t +++ b/t/082_get_code_info.t @@ -1,16 +1,11 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 6; +use Sub::Name 'subname'; BEGIN { $^P &= ~0x200; # Don't munger anonymous sub names - if ( eval 'use Sub::Name qw(subname); 1;' ) { - plan tests => 6; - } - else { - plan skip_all => 'These tests require Sub::Name'; - } } BEGIN { use_ok("Class::MOP") }