From: Stevan Little Date: Tue, 18 Apr 2006 23:46:48 +0000 (+0000) Subject: silence the warnings X-Git-Tag: 0_05~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a78c9032e9a1142f1c4249354c260361c04c311;p=gitmo%2FMoose.git silence the warnings --- diff --git a/t/055_util_type_reloading.t b/t/055_util_type_reloading.t index 4956de6..e0a253f 100644 --- a/t/055_util_type_reloading.t +++ b/t/055_util_type_reloading.t @@ -12,6 +12,8 @@ BEGIN { use_ok('Moose'); } +$SIG{__WARN__} = sub { 0 }; + eval { require Foo; }; ok(!$@, '... loaded Foo successfully') || diag $@;