From: Tomas Doran (t0m) <t0m@state51.co.uk>
Date: Wed, 1 Jul 2009 12:38:45 +0000 (+0100)
Subject: Fix issue reported by ArjenL in #moose
X-Git-Tag: 0.26~1
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9cc87fffca583d821428b0c54630cc672361181e;p=gitmo%2FMouse.git

Fix issue reported by ArjenL in #moose
---

diff --git a/Changes b/Changes
index b715925..5d08753 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for Mouse
 
 0.26
+    * Fix failing tests by requiring a newer Moose in that test (t0m)
 
 0.25 Fri Jun 19 12:05:42 2009
     * Fix SIGNATURE (reported by daxim) ... by removing it :)
diff --git a/t/201-squirrel.t b/t/201-squirrel.t
index c2fb73b..daeed22 100644
--- a/t/201-squirrel.t
+++ b/t/201-squirrel.t
@@ -27,7 +27,7 @@ do {
 # affecting its definition
 
 BEGIN {
-    plan skip_all => "Moose required for this test" unless eval { require Moose };
+    plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose && Moose->VERSION('0.68') };
     plan tests => 12;
 }
 
diff --git a/t/202-squirrel-role.t b/t/202-squirrel-role.t
index 5c70361..dd6f7d9 100644
--- a/t/202-squirrel-role.t
+++ b/t/202-squirrel-role.t
@@ -22,7 +22,7 @@ do {
 # affecting its definition
 
 BEGIN {
-    plan skip_all => "Moose required for this test" unless eval { require Moose::Role };
+    plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose::Role && Moose::Role->VERSION('0.68') };
     plan tests => 6;
 }