瀏覽代碼

Fix go vet warnings

Gary Burd 9 年之前
父節點
當前提交
8873b2f199
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()