X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_help.t;h=38eb5ead5859b2f3cde92f8897ac25aa9308ea9c;hb=804143deca6f2bebfc87cc78cf397201b6028bc5;hp=64ac28cc6e4f68961473f3a149bf6fb7f66f8243;hpb=2a56ace924b296189e0bf5864d6a3b92809fef66;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_script_help.t b/t/aggregate/unit_core_script_help.t index 64ac28c..38eb5ea 100644 --- a/t/aggregate/unit_core_script_help.t +++ b/t/aggregate/unit_core_script_help.t @@ -1,4 +1,3 @@ -#!/usr/bin/env perl use strict; use warnings; use Test::More; @@ -7,6 +6,9 @@ use Test::Fatal; use FindBin qw/$Bin/; use lib "$Bin/../lib"; +no warnings 'once'; +*CORE::GLOBAL::exit = sub {}; + { package TestHelpScript; use Moose;