From: Dave Rolsky Date: Thu, 22 Jan 2009 22:17:25 +0000 (+0000) Subject: rephrase skip_all test X-Git-Tag: 0.76~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f6db46127596236ff333604ce1127090c3b04d0b;p=gitmo%2FClass-MOP.git rephrase skip_all test --- diff --git a/t/306_is_class_loaded.t b/t/306_is_class_loaded.t index a4adb10..40bcd83 100644 --- a/t/306_is_class_loaded.t +++ b/t/306_is_class_loaded.t @@ -8,7 +8,8 @@ use Test::More; use Class::MOP (); plan 'skip_all' => 'This test is only meaningful for an XS-enabled CMOP with Perl < 5.10' - unless Class::MOP::USING_XS() && ! Class::MOP::IS_RUNNING_ON_5_10(); + if Class::MOP::IS_RUNNING_ON_5_10() || ! Class::MOP::USING_XS(); + plan tests => 1;