We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892a10e commit add51d7Copy full SHA for add51d7
bytes/bytes_test.go
@@ -18,13 +18,13 @@ func TestFormat(t *testing.T) {
18
// Exact
19
f = Format(1000 * 1000 * 1000)
20
if f != "1.00 GB" {
21
- t.Errorf("formatted bytes should be 1.00 GB, found %s xxx", f)
+ t.Errorf("formatted bytes should be 1.00 GB, found %s", f)
22
}
23
24
25
func TestFormatB(t *testing.T) {
26
f := FormatB(1323)
27
if f != "1.29 KiB" {
28
- t.Errorf("formatted bytes should be 1.29 KiB, found %s xxx", f)
+ t.Errorf("formatted bytes should be 1.29 KiB, found %s", f)
29
30
0 commit comments