Skip to content

Commit c762297

Browse files
author
Dimitri van Heesch
committed
Adjust test script for longer version number
1 parent f8671a4 commit c762297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/runtests.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ sub compare_ok {
8181

8282
sub chop_volatile {
8383
my $line = shift;
84-
$line =~ s/version="\d\.\d.\d+"/version=""/g; # strip version
84+
$line =~ s/version="\d\.\d+\.\d+(\.\d+)?"/version=""/g; # strip version
8585
$line =~ s/file=".*\/(.*)"/file="$1"/g; # strip location
8686
return $line;
8787
}

0 commit comments

Comments
 (0)