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 Mar 31, 2023
1 parent 6d977b4 commit 9053f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conversion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func TestFromBigOverflow(t *testing.T) {
func TestToBig(t *testing.T) {
var uint256Nil *Int
if bigNil := uint256Nil.ToBig(); bigNil != nil {
t.Errorf("expected big.Int <nil>, got %x", bigNil)
t.Errorf("want big.Int <nil>, have %x", bigNil)
}
if bigZero := new(Int).ToBig(); bigZero.Cmp(new(big.Int)) != 0 {
t.Errorf("expected big.Int 0, got %x", bigZero)
Expand Down

0 comments on commit 9053f6a

Please sign in to comment.