From: Shawn M Moore Date: Mon, 29 Sep 2008 02:35:36 +0000 (+0000) Subject: We need to skip the moose_extends_mouse tests in the absense of Moose X-Git-Tag: 0.19~175 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fc3207cdcdf1ed7baf74f84cbf46f685d70cf0a3;p=gitmo%2FMouse.git We need to skip the moose_extends_mouse tests in the absense of Moose --- diff --git a/t/500_moose_extends_mouse.t b/t/500_moose_extends_mouse.t index 25f29c5..7c4aa56 100644 --- a/t/500_moose_extends_mouse.t +++ b/t/500_moose_extends_mouse.t @@ -3,7 +3,12 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More; +BEGIN { + plan skip_all => "Moose required for this test" unless eval { require Moose }; + plan tests => 27; +} + use Mouse::Util ':test'; {