Explorar o código

Fix go vet warnings

Gary Burd %!s(int64=9) %!d(string=hai) anos
pai
achega
8873b2f199
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      redis/pubsub_test.go

+ 1 - 1
redis/pubsub_test.go

@@ -140,7 +140,7 @@ func TestPushed(t *testing.T) {
 	expectPushed(t, c, "PUBLISH c1 hello", redis.Message{Channel: "c1", Data: []byte("hello")})
 
 	c.Ping("hello")
-	expectPushed(t, c, `Ping("hello")`, redis.Pong{"hello"})
+	expectPushed(t, c, `Ping("hello")`, redis.Pong{Data: "hello"})
 
 	c.Conn.Send("PING")
 	c.Conn.Flush()