diff --git a/integration/streaming_test.go b/integration/streaming_test.go index d37c1b1..ac06258 100644 --- a/integration/streaming_test.go +++ b/integration/streaming_test.go @@ -196,11 +196,7 @@ func (tss *testStreamingService) EmptyPayloadStream(_ context.Context, _ *emptyp return err } - if err := streamer.Send(&streaming.EchoPayload{Seq: 2}); err != nil { - return err - } - - return nil + return streamer.Send(&streaming.EchoPayload{Seq: 2}) } func TestStreamingService(t *testing.T) {