Skip to content

Conversation

@jfhamlin
Copy link
Contributor

@jfhamlin jfhamlin commented Aug 2, 2025

The unchecked casts intentionally map (nearly) directly to go casts to rune (there's a stop at int64 in-between). These tests are a modified version of Clojure's numbers tests, and on the JVM you can expect consistent behavior. This operation does not behave consistently across systems in Go.

This PR adds a :skip option for number cast tests and skips tests of unchecked casts of max float inputs

Signed-off-by: James Hamlin <jfhamlin@gmail.com>
@jfhamlin jfhamlin merged commit a3eb1b6 into main Aug 3, 2025
2 checks passed
@jfhamlin jfhamlin deleted the fix/number-tests branch August 3, 2025 07:40
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.

2 participants