diff options
Diffstat (limited to 'rt/t/web/compilation_errors.t')
-rw-r--r-- | rt/t/web/compilation_errors.t | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rt/t/web/compilation_errors.t b/rt/t/web/compilation_errors.t index 1f82ab91f..0ae6ead5b 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,7 +8,7 @@ BEGIN { } my $tests = 8; find( sub { wanted() and $tests += 4 }, 'share/html/' ); - plan tests => $tests; + plan tests => $tests + 1; # plus one for warnings check } |