Skip to content

Commit

Permalink
fix: locale parsing by replacing hyphens with underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jan 9, 2025
1 parent 09d1a50 commit 661a8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_test/tests/on_player_join/test_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_player_attributes(player: Player):


def test_player_locale(player: Player):
assert Locale.parse(player.locale) is not None
assert Locale.parse(player.locale.replace("-", "_")) is not None


def test_player_skin(player: Player):
Expand Down

0 comments on commit 661a8a0

Please sign in to comment.