Bug 137589 - fix test 4 not to hang on the "use CGI" in the template.

This commit is contained in:
gerv%gerv.net 2002-04-17 21:10:43 +00:00
parent 34479f09c8
commit 0a5ed8dad9

View File

@ -33,6 +33,9 @@ BEGIN { use Test::More tests => $tests; }
use strict;
use Template;
# Bug 137589 - Disable command-line input of CGI.pm when testing
use CGI qw(-no_debug);
my @testitems = @Support::Templates::testitems;
my $include_path = $Support::Templates::include_path;
# Capture the TESTERR from Test::More for printing errors.