This crazy patch makes the test pass on s390x in groovy:
--- a/decode.go
+++ b/decode.go
@@ -500,7 +500,8 @@
return true
}
case float64:
- if resolved <= math.MaxInt64 &&
!out.OverflowInt(int64(resolved)) {
+ is_overflow := out.OverflowInt(int64(resolved))
+ if resolved <= math.MaxInt64 && !is_overflow {
out.SetInt(int64(resolved))
return true
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883770
Title:
Tests fail on s390x and go >= 1.13
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-yaml.v2/+bug/1883770/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs