We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69f3c0 commit f3b5d93Copy full SHA for f3b5d93
mcp/streamable_test.go
@@ -103,7 +103,7 @@ func TestStreamableTransports(t *testing.T) {
103
}
104
handler.ServeHTTP(w, r)
105
}))
106
- defer httpServer.Close()
+ t.Cleanup(func() { httpServer.Close() })
107
108
// Create a client and connect it to the server using our StreamableClientTransport.
109
// Check that all requests honor a custom client.
0 commit comments