Skip to content

Commit 0576cce

Browse files
authored
Fix flaky spec on test_file_name #2867 (#2868)
1 parent 8c85529 commit 0576cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/faker/default/test_faker_file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_mime_type_format_with_media_type
2222
end
2323

2424
def test_file_name
25-
assert_match %r{^([a-z\-_.]+)(\\|/)([a-z\-_]+)\.([a-z]+)$}, @tester
25+
assert_match %r{^([a-z\-_.]+)(\\|/)([a-z\-_]+)\.([a-z0-9]+)$}, @tester
2626
.file_name
2727
end
2828

0 commit comments

Comments
 (0)