X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Fcompilation_errors.t;h=126d33691bff2a1f8b5ccd43ce8060d9160fa409;hb=ed1f84b4e8f626245995ecda5afcf83092c153b2;hp=1f82ab91f07d88a2d9424663050360d05fdef89f;hpb=85e677b86fc37c54e6de2b06340351a28f5a5916;p=freeside.git diff --git a/rt/t/web/compilation_errors.t b/rt/t/web/compilation_errors.t index 1f82ab91f..126d33691 100644 --- a/rt/t/web/compilation_errors.t +++ b/rt/t/web/compilation_errors.t @@ -1,6 +1,5 @@ -#!/usr/bin/perl - use strict; +use warnings; use Test::More; use File::Find; BEGIN { @@ -9,14 +8,13 @@ BEGIN { } my $tests = 8; find( sub { wanted() and $tests += 4 }, 'share/html/' ); - plan tests => $tests; + plan tests => $tests + 1; # plus one for warnings check } use HTTP::Request::Common; use HTTP::Cookies; use LWP; -use Encode; my $cookie_jar = HTTP::Cookies->new;