]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
If a template doesn't exist, this should be considered a compile failure.
authorjake%acutex.net <>
Sat, 13 Oct 2001 03:35:37 +0000 (03:35 +0000)
committerjake%acutex.net <>
Sat, 13 Oct 2001 03:35:37 +0000 (03:35 +0000)
No review needed for tests at this time. NOT PART OF BUILD

t/004template.t

index ce36683fcf0257cf0f34b7146055839b005998b2..6a0b7cd479f799efb3b05b38d8e9a1b5fac6e748 100644 (file)
@@ -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