From ed4af4249961a69449820e27b0baaf5116142b9e Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Sat, 20 Oct 2001 05:39:46 +0000 Subject: 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 Additional edits by myself to add the emacs mode line. Also, the change to runtests.sh was done by me. --- t/004template.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't/004template.t') 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. -- cgit v1.2.3-24-g4f1b