Skip to content

Commit

Permalink
Issue #1795: Mtime can also have only a single digit
Browse files Browse the repository at this point in the history
after the point
  • Loading branch information
bschmalhofer committed May 28, 2022
1 parent ee3c607 commit 55e554e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test/Storage/S3.t
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ subtest 'DiscardObject() and DiscardObjects()' => sub {

# store two objects and process the headers of the two objects
my $Prefix = join '/', 'test', 'Storage', 'S3', 'greek_alphabet';
my $MtimeRegex = qr/^ \d+ (?:\.\d{3})? $/x;
my $MtimeRegex = qr/^ \d+ (?:\.\d{1,3})? $/x; # 1653750544.2 is also possible

# set up test content
my %Alphabet = ( 'uni_alpha.txt', <<'EOT', 'uni_beta.txt', <<'EOT', 'uni_gamma', <<'EOT', 'uni_delta.txt', <<'EOT' );
Expand Down

0 comments on commit 55e554e

Please sign in to comment.