Skip to content

Commit add51d7

Browse files
committed
Fixed a typo
1 parent 892a10e commit add51d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bytes/bytes_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ func TestFormat(t *testing.T) {
1818
// Exact
1919
f = Format(1000 * 1000 * 1000)
2020
if f != "1.00 GB" {
21-
t.Errorf("formatted bytes should be 1.00 GB, found %s xxx", f)
21+
t.Errorf("formatted bytes should be 1.00 GB, found %s", f)
2222
}
2323
}
2424

2525
func TestFormatB(t *testing.T) {
2626
f := FormatB(1323)
2727
if f != "1.29 KiB" {
28-
t.Errorf("formatted bytes should be 1.29 KiB, found %s xxx", f)
28+
t.Errorf("formatted bytes should be 1.29 KiB, found %s", f)
2929
}
3030
}

0 commit comments

Comments
 (0)