Skip to content

Commit

Permalink
Fix flaky spec on test_file_name #2867 (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavbiswa authored Dec 13, 2023
1 parent 8c85529 commit 0576cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/faker/default/test_faker_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_mime_type_format_with_media_type
end

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

Expand Down

0 comments on commit 0576cce

Please sign in to comment.