Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test{Float,Double}Matrix.testToString() are failing in French locale. #40

Merged
merged 2 commits into from Mar 6, 2014
Merged

Conversation

ghost
Copy link

@ghost ghost commented Mar 6, 2014

Setting the locale to English for the time of the test and then back to default. It should work for other values of locale as well.

… Setting the locale to English for the time of the test and then back to default.
@srowen
Copy link
Contributor

srowen commented Mar 6, 2014

(To avoid similar issues, on a broader scale, I have in the past a) set a fixed locale in a test superclass, in a @BeforeClass method, and b) set the Locale on any method like String.format() where this kind of thing can happen in the code.)

…lass and @afterclass methods. TestDoubleMatrix.java and TestFloatMatrix.java now extend AbstractTestJblas.java
@ghost
Copy link
Author

ghost commented Mar 6, 2014

Thanks for the suggestion.

mikiobraun added a commit that referenced this pull request Mar 6, 2014
Test{Float,Double}Matrix.testToString() are failing in French locale. 

Alright, thanks a lot ;)
@mikiobraun mikiobraun merged commit 4ee5b65 into jblas-project:master Mar 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants