(t *testing.T, msg jsonrpc2.Message)
| 148 | ) |
| 149 | |
| 150 | func jsonBody(t *testing.T, msg jsonrpc2.Message) string { |
| 151 | data, err := jsonrpc2.EncodeMessage(msg) |
| 152 | if err != nil { |
| 153 | t.Fatalf("encoding failed: %v", err) |
| 154 | } |
| 155 | return string(data) |
| 156 | } |
| 157 | |
| 158 | func TestStreamableClientTransportLifecycle(t *testing.T) { |
| 159 | ctx := context.Background() |
no test coverage detected
searching dependent graphs…