diff --git a/transport/transport_test.go b/transport/transport_test.go index 7956073f..e79acec4 100644 --- a/transport/transport_test.go +++ b/transport/transport_test.go @@ -409,7 +409,7 @@ func TestMaxStreams(t *testing.T) { // Close the pending stream so that the streams quota becomes available for the next new stream. ct.CloseStream(s, nil) select { - case i:=<-cc.streamsQuota.acquire(): + case i := <-cc.streamsQuota.acquire(): if i != 1 { t.Fatalf("streamsQuota.acquire() got %d quota, want 1.", i) }