From: jake%acutex.net <> Date: Sun, 1 Mar 2009 04:03:10 +0000 (+0000) Subject: Check templates for tabs, also. X-Git-Tag: bugzilla-3.3.4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788a709dd4cbe325e949cc15a8ceaab3a2930a75;p=thirdparty%2Fbugzilla.git Check templates for tabs, also. --- diff --git a/t/005whitespace.t b/t/005whitespace.t index e420baaaaa..a3c9fed3ae 100644 --- a/t/005whitespace.t +++ b/t/005whitespace.t @@ -26,12 +26,17 @@ BEGIN { use lib "t/"; } BEGIN { use Support::Files; } +BEGIN { use Support::Templates; } BEGIN { $tests = @Support::Files::testitems; } +BEGIN { $tests += @Support::Templates::testitems; } BEGIN { use Test::More tests => $tests; } use strict; my @testitems = @Support::Files::testitems; +my @templates = map($Support::Templates::include_path . "/" . $_, + @Support::Templates::testitems); +push(@testitems, @templates); foreach my $file (@testitems) { open (FILE, "$file");