Skip to content

Some tests are Locale dependent #8809

Closed
@radeusgd

Description

@radeusgd

I have a default locale on my PC set to pl_PL, in this locale floating-point numbers are comma-separated instead of being dot-separated as in en_US locale.

At least one of the tests fails because of this, namely tests/run-macros/f-interpolator-tests.scala, because it relies on a check file generated on an en_US locale containing amongst others number 10.00.

Expectation

The tests should work on all locales (for example by forcing sbt to use the supported en_US locale) or at least emit a warning which locale is required for a correct test run.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions