-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
area/v2relates to / is being considered for v2relates to / is being considered for v2kind/bugdescribes or fixes a bugdescribes or fixes a bug
Description
I'm working on packaging this library for Debian, and after enabling the altsrc package, I noticed that the test cases below fail on 32 bit architectures:
cli/altsrc/yaml_file_loader_test.go
Lines 293 to 302 in a4832fd
| { | |
| "test", | |
| "test: 9223372036854775807", //int | |
| false, | |
| }, | |
| { | |
| "test", | |
| "test: 9223372036854775808", //uintt64 | |
| true, | |
| }, |
This applies to each of i386, armhf and armel:
119s yaml_file_loader_test.go:261: 4 testcast: expect error but Mismatched type for flag 'test'. Expected 'uint' but actual is 'int64'
119s yaml_file_loader_test.go:261: 5 testcast: expect error but Mismatched type for flag 'test'. Expected 'uint' but actual is 'uint64'
119s --- FAIL: TestYamlFileUint (0.00s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/v2relates to / is being considered for v2relates to / is being considered for v2kind/bugdescribes or fixes a bugdescribes or fixes a bug