X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_component_controller_context_closure.t;h=2d4b894e25e28350c9a1e14ffe2b47c6acf12ce0;hb=310c2a39c86dc3f8a1dd0bb80c2543e809e2cb3c;hp=7e111f35199791d9eb132e0d16e75d1d1798b18a;hpb=4a0dc2595b2ed1f6ab0e79ff4727eb9135be1665;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_component_controller_context_closure.t b/t/live_component_controller_context_closure.t index 7e111f3..2d4b894 100644 --- a/t/live_component_controller_context_closure.t +++ b/t/live_component_controller_context_closure.t @@ -7,7 +7,7 @@ BEGIN { plan skip_all => 'CatalystX::LeakChecker 0.05 required for this test'; } - plan tests => 4; + plan tests => 6; } use FindBin; @@ -28,3 +28,9 @@ use Catalyst::Test 'TestApp'; ok($resp->is_success); is($ctx->count_leaks, 0); } + +{ + my ($resp, $ctx) = ctx_request('/contextclosure/non_closure'); + ok($resp->is_success); + is($ctx->count_leaks, 0); +}