Skip to content

Commit 3ba89dd

Browse files
GosthellJBUinfo
authored andcommitted
fix(test): typedef
1 parent 5f329fa commit 3ba89dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/streamable_http_sampling_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func TestStreamableHTTPServer_SamplingQueueFull(t *testing.T) {
185185
session.samplingRequestChan <- samplingRequestItem{
186186
requestID: int64(i),
187187
request: mcp.CreateMessageRequest{},
188-
response: make(chan samplingResponseItem, 1),
188+
response: make(chan responseItem, 1),
189189
}
190190
}
191191

@@ -213,4 +213,4 @@ func TestStreamableHTTPServer_SamplingQueueFull(t *testing.T) {
213213
if !strings.Contains(err.Error(), "queue is full") {
214214
t.Errorf("Expected queue full error, got: %v", err)
215215
}
216-
}
216+
}

0 commit comments

Comments
 (0)