Skip to content

Commit

Permalink
Fix bidi stream test
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Mar 18, 2024
1 parent 971bfec commit d88ddf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect_ext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ func TestErrorHeaderPropagation(t *testing.T) {
t.Run("bidi", func(t *testing.T) {
stream := client.CumSum(context.Background())
stream.RequestHeader().Set("X-Test", t.Name())
if err := stream.Send(&pingv1.CumSumRequest{Number: 42}); err != nil {
if err := stream.Send(nil); err != nil {
t.Fatal(err)
}
_, err := stream.Receive()
Expand Down

0 comments on commit d88ddf3

Please sign in to comment.