-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
bugissues that report a bugissues that report a bug
Description
go Version
go version go1.23.2 linux/amd64
API Wrapper Version
github.com/linode/linodego v1.43.0
Code Snippet
n/aExpected Behavior
Test should pass successfully on all supported Go archs.
Actual Behavior
Unit tests failed to build on 32-bit archs due to untyped int overflows.
$ GOARCH=386 go test ./unit
# github.com/linode/linodego/test/unit [github.com/linode/linodego/test/unit.test]
unit/instance_test.go:92:18: cannot use 30471077120 (untyped int constant) as int value in argument to assert.Equal (overflows)
unit/instance_test.go:93:18: cannot use 22956600198 (untyped int constant) as int value in argument to assert.Equal (overflows)
unit/instance_test.go:94:18: cannot use 53427677318 (untyped int constant) as int value in argument to assert.Equal (overflows)
FAIL github.com/linode/linodego/test/unit [build failed]
FAIL
Steps to Reproduce
Run tests with a 32-bit GOARCH, e.g. "386".
Metadata
Metadata
Assignees
Labels
bugissues that report a bugissues that report a bug