From: Peter Rabbitson Date: Fri, 27 Apr 2012 14:42:08 +0000 (+0200) Subject: Silence prove -w warnings X-Git-Tag: v0.11011~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=71fee1bced443506c1ed17f441224a15108a3016;p=dbsrgits%2FSQL-Translator.git Silence prove -w warnings --- diff --git a/t/66-postgres-dbi-parser.t b/t/66-postgres-dbi-parser.t index 1054e83..c7c64c9 100644 --- a/t/66-postgres-dbi-parser.t +++ b/t/66-postgres-dbi-parser.t @@ -179,6 +179,7 @@ END { 'drop table if exists sqlt_test1', 'drop table if exists sqlt_products_1', ) { + local $SIG{__WARN__} = sub {}; eval { $dbh->do($_) }; } }