Skip to content

Commit

Permalink
Fix flaky specs for dota test_player (#2798)
Browse files Browse the repository at this point in the history
* [Fix #2797]

* rubocop shenanigans

* Update test_faker_dota.rb
  • Loading branch information
ruban-thilak committed Jul 8, 2023
1 parent e132ae9 commit d7a2174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/faker/games/test_faker_dota.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_team
end

def test_player
assert_match(/\w+/, @tester.player)
assert_match(/[\p{Katakana}\p{Han}\w]+/, @tester.player)
end

def test_heroes_quotes
Expand Down

0 comments on commit d7a2174

Please sign in to comment.