diff options
author | zach%zachlipton.com <> | 2002-04-04 17:01:09 +0200 |
---|---|---|
committer | zach%zachlipton.com <> | 2002-04-04 17:01:09 +0200 |
commit | 7f9b581340be60e5017d4387de4048881afcb075 (patch) | |
tree | 700a88e23277b683215f2bb24c1ed3893772752f /t | |
parent | 2cdfeb466e078648201b104f8f3f8fe539e37e02 (diff) | |
download | bugzilla-7f9b581340be60e5017d4387de4048881afcb075.tar.gz bugzilla-7f9b581340be60e5017d4387de4048881afcb075.tar.xz |
Fix for bug 135291: add version string to new templates and fix the string for non
xml templates.
r=bbaetz, r2=ddk
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"); |