good morning!!!!

Skip to content
Snippets Groups Projects
Commit 318ad3c1 authored by Felix Lange's avatar Felix Lange Committed by Jeffrey Wilcke
Browse files

common/hexutil: fix Test{Decode,Unmarshal}Uint64 on 32bit arch (#3363)

parent e949a2ed
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ var (
{input: `0`, wantErr: ErrMissingPrefix},
{input: `0x`, wantErr: ErrEmptyNumber},
{input: `0x01`, wantErr: ErrLeadingZero},
{input: `0xfffffffffffffffff`, wantErr: ErrUintRange},
{input: `0xfffffffffffffffff`, wantErr: ErrUint64Range},
{input: `0xx`, wantErr: ErrSyntax},
{input: `0x1zz01`, wantErr: ErrSyntax},
// valid
......
......@@ -202,7 +202,7 @@ var unmarshalUint64Tests = []unmarshalTest{
{input: `"0"`, wantErr: ErrMissingPrefix},
{input: `"0x"`, wantErr: ErrEmptyNumber},
{input: `"0x01"`, wantErr: ErrLeadingZero},
{input: `"0xfffffffffffffffff"`, wantErr: ErrUintRange},
{input: `"0xfffffffffffffffff"`, wantErr: ErrUint64Range},
{input: `"0xx"`, wantErr: ErrSyntax},
{input: `"0x1zz01"`, wantErr: ErrSyntax},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment