Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Spurious failure on CoordinatesSpec #201

Closed
cquiroz opened this issue Jan 19, 2018 · 3 comments
Closed

Spurious failure on CoordinatesSpec #201

cquiroz opened this issue Jan 19, 2018 · 3 comments

Comments

@cquiroz
Copy link
Contributor

cquiroz commented Jan 19, 2018

i hit this error on travis

info] - Formats.HmsDms.format.normalize *** FAILED ***
[info]   NumberFormatException was thrown during property evaluation.
[info]     Message: For input string: "໒"
[info]     Occurred when passed generated values (
[info]       arg0 = "໒     00:00:00.000000"
[info]     )
[info] - Formats.HmsDms
@tpolecat
Copy link
Member

[info] - Formats.HmsDms.format.normalize *** FAILED ***
[info]   NumberFormatException was thrown during property evaluation.
[info]     Message: For input string: "8"
[info]     Occurred when passed generated values (
[info]       arg0 = "00:00:00.000000 8"
[info]     )

@tpolecat
Copy link
Member

The problem is that parsing in JS delegates to parseInt which can't handle international characters.

@tpolecat
Copy link
Member

I'll fix this in atto.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants