File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ var (
105105 {input : `0` , wantErr : ErrMissingPrefix },
106106 {input : `0x` , wantErr : ErrEmptyNumber },
107107 {input : `0x01` , wantErr : ErrLeadingZero },
108- {input : `0xfffffffffffffffff` , wantErr : ErrUintRange },
108+ {input : `0xfffffffffffffffff` , wantErr : ErrUint64Range },
109109 {input : `0xx` , wantErr : ErrSyntax },
110110 {input : `0x1zz01` , wantErr : ErrSyntax },
111111 // valid
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ var unmarshalUint64Tests = []unmarshalTest{
202202 {input : `"0"` , wantErr : ErrMissingPrefix },
203203 {input : `"0x"` , wantErr : ErrEmptyNumber },
204204 {input : `"0x01"` , wantErr : ErrLeadingZero },
205- {input : `"0xfffffffffffffffff"` , wantErr : ErrUintRange },
205+ {input : `"0xfffffffffffffffff"` , wantErr : ErrUint64Range },
206206 {input : `"0xx"` , wantErr : ErrSyntax },
207207 {input : `"0x1zz01"` , wantErr : ErrSyntax },
208208
You can’t perform that action at this time.
0 commit comments