From 7f9b581340be60e5017d4387de4048881afcb075 Mon Sep 17 00:00:00 2001 From: "zach%zachlipton.com" <> Date: Thu, 4 Apr 2002 15:01:09 +0000 Subject: Fix for bug 135291: add version string to new templates and fix the string for non xml templates. r=bbaetz, r2=ddk --- t/004template.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/004template.t b/t/004template.t index e831e42e4..cf63975d1 100644 --- a/t/004template.t +++ b/t/004template.t @@ -94,7 +94,7 @@ close SAVEERR; foreach my $file(@testitems) { open(TMPL,"$include_path/$file"); my $firstline = ; - if ($firstline =~ //) { + if ($firstline =~ /\d+\.\d+\@[\w\.-]+/) { ok(1,"$file has a version string"); } else { ok(0,"$file does not have a version string --ERROR"); -- cgit v1.2.3-24-g4f1b