summaryrefslogtreecommitdiffstats
path: root/t/004template.t
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-10-20 07:39:46 +0200
committerjake%acutex.net <>2001-10-20 07:39:46 +0200
commited4af4249961a69449820e27b0baaf5116142b9e (patch)
tree09425865e2c77171faec1a1a66d2210b7dc6fdf7 /t/004template.t
parentb929c22527a9f97d4e03937d255542dfb5384f02 (diff)
downloadbugzilla-ed4af4249961a69449820e27b0baaf5116142b9e.tar.gz
bugzilla-ed4af4249961a69449820e27b0baaf5116142b9e.tar.xz
Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE.
Patch by David D. Kilzer <ddkilzer@theracingworld.com> Additional edits by myself to add the emacs mode line. Also, the change to runtests.sh was done by me.
Diffstat (limited to 't/004template.t')
-rw-r--r--t/004template.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/004template.t b/t/004template.t
index 6a0b7cd47..f66176a72 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -29,11 +29,12 @@ BEGIN { use Support::Templates; }
BEGIN { $tests = @Support::Templates::testitems * 2; }
BEGIN { use Test::More tests => $tests; }
+use strict;
use Template;
my @testitems = @Support::Templates::testitems;
my $include_path = $Support::Templates::include_path;
-my $verbose = $::ENV{VERBOSE};
+my $verbose = $::ENV{TEST_VERBOSE};
# Check to make sure all templates that are referenced in
# Bugzilla exist in the proper place.