From: Jesse Luehrs <doy@tozt.net>
Date: Wed, 25 Apr 2012 05:44:21 +0000 (-0500)
Subject: make this an author test
X-Git-Tag: 2.0502~2
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a1da8a348236f64318fb907515f351287d00730;p=gitmo%2FMoose.git

make this an author test

memory leak tests just trigger on all kinds of weird situations
depending on platform, configuration, perl version, etc... basically
impossible to keep passing everywhere for anything non-trivial. just
keep this from showing up as fail reports on cpantesters for no reason.
---

diff --git a/t/bugs/memory_leaks.t b/xt/author/memory_leaks.t
similarity index 96%
rename from t/bugs/memory_leaks.t
rename to xt/author/memory_leaks.t
index 10127f9..0c0d04a 100644
--- a/t/bugs/memory_leaks.t
+++ b/xt/author/memory_leaks.t
@@ -1,12 +1,9 @@
 use strict;
 use warnings;
 
-use Test::Requires {
-    'Test::LeakTrace'     => '0.01',
-    'Test::Memory::Cycle' => '0',
-};
-
 use Test::More;
+use Test::LeakTrace 0.01;
+use Test::Memory::Cycle;
 
 use Moose ();
 use Moose::Util qw( apply_all_roles );