summaryrefslogtreecommitdiffstats
path: root/t/005whitespace.t
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-12-03 19:02:50 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-12-03 19:02:50 +0100
commit5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05 (patch)
treefebe727b833b60f60027f403eb13c1da4d18b1e5 /t/005whitespace.t
parent0d02249ab821358506048f922abba078770730fd (diff)
downloadbugzilla-5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05.tar.gz
bugzilla-5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05.tar.xz
Bug 817634: Tests in t/ should also check themselves where appropriate
r=glob a=LpSolit
Diffstat (limited to 't/005whitespace.t')
-rw-r--r--t/005whitespace.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/005whitespace.t b/t/005whitespace.t
index 624df69f6..8cb2f7e8f 100644
--- a/t/005whitespace.t
+++ b/t/005whitespace.t
@@ -17,10 +17,11 @@ use Support::Files;
use Support::Templates;
use File::Spec;
-use Test::More tests => ( scalar(@Support::Files::testitems)
+use Test::More tests => (scalar(@Support::Files::testitems)
+ + scalar(@Support::Files::test_files)
+ $Support::Templates::num_actual_files) * 3;
-my @testitems = @Support::Files::testitems;
+my @testitems = (@Support::Files::testitems, @Support::Files::test_files);
for my $path (@Support::Templates::include_paths) {
push(@testitems, map(File::Spec->catfile($path, $_),
Support::Templates::find_actual_files($path)));