X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_component_controller_context_closure.t;h=7e111f35199791d9eb132e0d16e75d1d1798b18a;hp=172f91e1da1913481ef06a1b8a0bb09f9e580c53;hb=9434a81501df74c1bbe5745cc2bc3476213f2733;hpb=fbbed79e68b58b0dad0457a14e6d6bad87166769 diff --git a/t/live_component_controller_context_closure.t b/t/live_component_controller_context_closure.t index 172f91e..7e111f3 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 0.03; 1') { - plan skip_all => 'CatalystX::LeakChecker 0.03 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 } +local $SIG{__WARN__} = sub { return if $_[0] =~ /Unhandled type: GLOB/; warn $_[0] }; use Catalyst::Test 'TestApp'; {