From: Brandon Black Date: Wed, 15 Nov 2006 13:59:31 +0000 (+0000) Subject: silence the useless warning spew in 20invocations.t X-Git-Tag: 0.03009~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=23e88965d9a70c89c26e54c731aeb9573f03d640;p=dbsrgits%2FDBIx-Class-Schema-Loader.git silence the useless warning spew in 20invocations.t --- diff --git a/t/20invocations.t b/t/20invocations.t index 22b0836..49d16af 100644 --- a/t/20invocations.t +++ b/t/20invocations.t @@ -3,6 +3,8 @@ use Test::More; use lib qw(t/lib); use make_dbictest_db; +$SIG{__WARN__} = sub { }; # Suppress warnings, as we test a lot of deprecated stuff here + # Takes a $schema as input, runs 4 basic tests sub test_schema { my ($testname, $schema) = @_;