X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_component_controller_context_closure.t;h=767822d44a477ef82b583c3e2d4a5c98823961de;hb=532f0516947cf047368e91150ca2ab1cfd4c1e64;hp=94d2ef1ef47b79df426ea1d6ac707419ad421618;hpb=d9d8aa5102e2b961d4f5f0bdd76d9dbcbcefc1dd;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_component_controller_context_closure.t b/t/live_component_controller_context_closure.t index 94d2ef1..767822d 100644 --- a/t/live_component_controller_context_closure.t +++ b/t/live_component_controller_context_closure.t @@ -3,8 +3,8 @@ use warnings; use Test::More; BEGIN { - unless (eval 'use CatalystX::LeakChecker; 1') { - plan skip_all => 'CatalystX::LeakChecker required for this test'; + unless (eval 'use CatalystX::LeakChecker 0.05; 1') { + plan skip_all => 'CatalystX::LeakChecker 0.05 required for this test'; } plan tests => 4; @@ -13,6 +13,8 @@ BEGIN { use FindBin; use lib "$FindBin::Bin/lib"; +BEGIN { $::setup_leakchecker = 1 } + use Catalyst::Test 'TestApp'; {