You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with Java 11, localization is behaving weirdly and causes tests to fail.
Despite mvn --version showing Default locale: en_GB, when running tests I get failures such as:
Starting with Java 11, localization is behaving weirdly and causes tests to fail.
Despite
mvn --version
showingDefault locale: en_GB
, when running tests I get failures such as:I can think of 2 solutions:
_df = new DecimalFormat("#", DecimalFormatSymbols.getInstance(Locale.ROOT));
)-Duser.language=en -Duser.country=US
)I'm leaning towards the first, because
1.5 P ~
should never fail withUnexpected token 1,5
Additionally
test_list
andgolf_examples
might fail on Windows.aya/test/base/test_list.aya
Line 102 in 3ab481f
aya/test/golf/golf_examples.aya
Line 87 in 3ab481f
It failed on my end, because git
autocrlf
was enabled and all\n
were converted to\r\n
The resulting error is:
Strictly speaking, this is user-error, however, it seems you have also accidentally commit files with
\r\n
https://github.com/aya-lang/aya/blob/3ab481f2eb3d14aac7d9a154db3c44a9bff12cf6/std/dialog.aya
So I think this should be fixed.
E.g. by using
["foo" "bar"] "\n" %
for the tests.The text was updated successfully, but these errors were encountered: