Skip to content

Commit

Permalink
Update conversion_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored Nov 27, 2023
1 parent 6dee50a commit ab16ba9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions conversion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1258,13 +1258,6 @@ func TestEnDecode(t *testing.T) {
t.Fatalf("test %d: json encoding err: %v", i, err)
}
jsonEncodedBig, _ := json.Marshal(&jsonBigStruct{&bigSample})
//if !bytes.Equal(jsonEncoded, jsonEncodedBig) {
// big.Int marshals integers without quoting them. This is not always
// ideal, since values may be larger than 53 bits, and thus not
// expressable in javascript native form.
// U256 instead uses string-form
//t.Logf("Known difference, u256: %q, big: %q", string(jsonEncoded), string(jsonEncodedBig))
//}
var jsonDecoded jsonStruct
err = json.Unmarshal(jsonEncoded, &jsonDecoded)
if err != nil {
Expand Down

0 comments on commit ab16ba9

Please sign in to comment.