]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Check templates for tabs, also.
authorjake%acutex.net <>
Sun, 1 Mar 2009 04:03:10 +0000 (04:03 +0000)
committerjake%acutex.net <>
Sun, 1 Mar 2009 04:03:10 +0000 (04:03 +0000)
t/005whitespace.t

index e420baaaaab2c686691a77b16685213eaeffcf35..a3c9fed3aeb71bfeb10ac95279b8dff95f1d9c89 100644 (file)
 
 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");