Skip to content

Commit 8d3f236

Browse files
committed
fix compile
1 parent 6435882 commit 8d3f236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/sse_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func TestSSEMCPClient(t *testing.T) {
6666

6767
// Initialize
6868
testServer := server.NewTestServer(mcpServer,
69-
server.WithHTTPContextFunc(func(ctx context.Context, r *http.Request) context.Context {
69+
server.WithSSEContextFunc(func(ctx context.Context, r *http.Request) context.Context {
7070
ctx = context.WithValue(ctx, testHeaderKey, r.Header.Get("X-Test-Header"))
7171
ctx = context.WithValue(ctx, testHeaderFuncKey, r.Header.Get("X-Test-Header-Func"))
7272
return ctx

0 commit comments

Comments
 (0)