summaryrefslogtreecommitdiffstats
path: root/t/004template.t
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-10-13 05:35:37 +0200
committerjake%acutex.net <>2001-10-13 05:35:37 +0200
commit6c78da4748130527b3e0e346761acc24080cf518 (patch)
treec5b5e079f41658d84a84b0465e82f628cae5471e /t/004template.t
parent9efb4a4102cc96f1f2d3cdfdec3b0158e15b2622 (diff)
downloadbugzilla-6c78da4748130527b3e0e346761acc24080cf518.tar.gz
bugzilla-6c78da4748130527b3e0e346761acc24080cf518.tar.xz
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
Diffstat (limited to 't/004template.t')
-rw-r--r--t/004template.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/004template.t b/t/004template.t
index ce36683fc..6a0b7cd47 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