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

Tests fail in locales that use , as decimal separator instead of . #5

Open
kogitant opened this issue Oct 27, 2016 · 1 comment
Open

Comments

@kogitant
Copy link
Owner

Adding this to pom.xml avoids the problem:

  <!-- JaCoCo support -->
    <argLine>-Duser.language=en -Duser.region=GB</argLine>
@kogitant
Copy link
Owner Author

Failed tests:
  DecimalFormattingLearningTest.howIsStringWithDotAsDecimalSeparatorTreated:19 expected:<"75[.]5"> but was:<"75[,]5">
  DecimalFormattingLearningTest.howIsStringWithDotAsDecimalSeparatorTreated_case2:30 expected:<"75[.]51"> but was:<"75[,]51">
  DecimalFormattingLearningTest.howIsStringWithDotAsDecimalSeparatorTreated_case3:43 expected:<"86[.]67"> but was:<"86[,]67">
  ProjectAnalysisPayloadBuilderTest.testPayloadBuilder:61 expected:<...ew Code: OK, value=0[.01%, warning if >2.0%, error if >10.0%, valueShortEnough=
false), Field(title=Coverage on New Code: ERROR, value=75.]51%, error if <80.0%...> but was:<...ew Code: OK, value=0[,01%, warning if >2.0%, error if
>10.0%, valueShortEnough=false), Field(title=Coverage on New Code: ERROR, value=75,]51%, error if <80.0%...>

Tests run: 12, Failures: 4, Errors: 0, Skipped: 0

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

No branches or pull requests

1 participant