Skip to content

Commit

Permalink
Fix TestVeryVeryBigBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Jan 10, 2023
1 parent 463a095 commit 269a863
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bigbytes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ func TestVeryBigBytes(t *testing.T) {
func TestVeryVeryBigBytes(t *testing.T) {
b, _ := (&big.Int{}).SetString("16093220510709943573688614912", 10)
s := BigBytes(b)
if s != "16093 YB" {
t.Errorf("Expected 16093 YB, got %v", s)
if s != "16 RB" {
t.Errorf("Expected 16 RB, got %v", s)
}
s = BigIBytes(b)
if s != "13312 YiB" {
t.Errorf("Expected 13312 YiB, got %v", s)
if s != "13 RiB" {
t.Errorf("Expected 13 RiB, got %v", s)
}
}

Expand Down

0 comments on commit 269a863

Please sign in to comment.