diff options
Diffstat (limited to 't')
-rw-r--r-- | t/004template.t | 2 |
1 files changed, 1 insertions, 1 deletions
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 = <TMPL>; - if ($firstline =~ /<!-- \d+\.\d+\@[\w\._]+ -->/) { + if ($firstline =~ /\d+\.\d+\@[\w\.-]+/) { ok(1,"$file has a version string"); } else { ok(0,"$file does not have a version string --ERROR"); |