Skip to content

TestYamlFileUint fails on 32 bit architectures #1962

@siretart

Description

@siretart

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:

{
"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)

Metadata

Metadata

Assignees

Labels

area/v2relates to / is being considered for v2kind/bugdescribes or fixes a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions