Mike 1 rok pred
rodič
commit
48aeda41ce
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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 */
 		},
 		{