Fix local streaming

This commit is contained in:
178inaba 2017-04-28 14:09:10 +09:00
parent a4904109e4
commit 9fa63b511c
2 changed files with 33 additions and 32 deletions

View file

@ -38,7 +38,7 @@ data: {"content": "bar"}
AccessToken: "zoo",
})
ctx, cancel := context.WithCancel(context.Background())
q, err := client.StreamingPublic(ctx)
q, err := client.StreamingPublic(ctx, false)
if err != nil {
t.Fatalf("should not be fail: %v", err)
}