소스 검색

Fixed a typo

Vishal Rana 10 년 전
부모
커밋
add51d79f4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      bytes/bytes_test.go

+ 2 - 2
bytes/bytes_test.go

@@ -18,13 +18,13 @@ func TestFormat(t *testing.T) {
 	// Exact
 	f = Format(1000 * 1000 * 1000)
 	if f != "1.00 GB" {
-		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)
 	}
 }
 
 func TestFormatB(t *testing.T) {
 	f := FormatB(1323)
 	if f != "1.29 KiB" {
-		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)
 	}
 }