summaryrefslogtreecommitdiff
path: root/rt/t/web/compilation_errors.t
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-07-02 21:11:29 -0700
committerIvan Kohler <ivan@freeside.biz>2013-07-02 21:11:29 -0700
commit3d0a1bb06b895c5be6e3f0517d355442a6b1e125 (patch)
tree84069ebc3254825b952a482e11cdbbbc69f6fe85 /rt/t/web/compilation_errors.t
parentf3b99c11d6eed33f467dda360180a698a85c54e8 (diff)
parentd62206a94d9d49ef96640e0a8ec492679f8345e9 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/t/web/compilation_errors.t')
-rw-r--r--rt/t/web/compilation_errors.t5
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
}