summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/004template.t2
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");