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
This commit is contained in:
jake%acutex.net 2001-10-12 20:35:37 +00:00
Родитель e21b56807d
Коммит 7bdf2856ba
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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