From: jake%acutex.net <> Date: Sat, 13 Oct 2001 03:35:37 +0000 (+0000) Subject: If a template doesn't exist, this should be considered a compile failure. X-Git-Tag: bugzilla-2.14.1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c78da4748130527b3e0e346761acc24080cf518;p=thirdparty%2Fbugzilla.git If a template doesn't exist, this should be considered a compile failure. No review needed for tests at this time. NOT PART OF BUILD --- diff --git a/t/004template.t b/t/004template.t index ce36683fcf..6a0b7cd479 100644 --- a/t/004template.t +++ b/t/004template.t @@ -42,7 +42,7 @@ foreach my $file(@testitems) { if (-e $include_path . "/" . $file) { ok(1, "$file exists"); } else { - ok(0, "$file does not exist"); + ok(0, "$file does not exist --ERROR"); } } @@ -58,7 +58,7 @@ foreach my $file(@testitems) { if ($template->process($file)) { ok(1, "$file syntax ok"); } else { - ok(0, "$file has bad syntax"); + ok(0, "$file has bad syntax --ERROR"); } } open STDOUT, ">&SAVEOUT"; # redirect back to original stream