Skip to content

Fix wireless_transmitter_cover_test not working on systems where the decimal separator isn't a dot#4521

Merged
jurrejelle merged 1 commit intoGregTechCEu:1.20.1from
screret:sc/fix-wireless-transmitter-cover-test
Jan 29, 2026
Merged

Fix wireless_transmitter_cover_test not working on systems where the decimal separator isn't a dot#4521
jurrejelle merged 1 commit intoGregTechCEu:1.20.1from
screret:sc/fix-wireless-transmitter-cover-test

Conversation

@screret
Copy link
Copy Markdown
Contributor

@screret screret commented Jan 29, 2026

What

Fix wireless_transmitter_cover_test not working on systems where the decimal separator isn't a dot.
Like german or finnish locale, where it's a comma.

Implementation Details

Made it use String.format(Locale.ROOT, ... instead of "constant".formatted(...).

Outcome

Tests succeed on my PC again

How Was This Tested

Ran tests, worked, didn't work before

…decimal separator isn't a dot (like german or finnish locale, where it's a comma)
@screret screret requested a review from a team as a code owner January 29, 2026 21:06
@jurrejelle jurrejelle added ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: tests Test related changes labels Jan 29, 2026
@jurrejelle jurrejelle merged commit c04379a into GregTechCEu:1.20.1 Jan 29, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: tests Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants