瀏覽代碼

fix bad go fmt

Mike 1 年之前
父節點
當前提交
48aeda41ce
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      wire/encode_test.go

+ 2 - 2
wire/encode_test.go

@@ -198,7 +198,7 @@ func TestMarshal(t *testing.T) {
 				Val: []byte(`hello`),
 			},
 			want: append(
-				[]byte{0x05}, /* len prefix */
+				[]byte{0x05},                             /* len prefix */
 				[]byte{0x68, 0x65, 0x6c, 0x6c, 0x6f}...), /* slice val */
 		},
 		{
@@ -220,7 +220,7 @@ func TestMarshal(t *testing.T) {
 				Val: []byte(`hello`),
 			},
 			want: append(
-				[]byte{0x00, 0x05}, /* len prefix */
+				[]byte{0x00, 0x05},                       /* len prefix */
 				[]byte{0x68, 0x65, 0x6c, 0x6c, 0x6f}...), /* slice val */
 		},
 		{