fix tests

This commit is contained in:
Bruce MacDonald 2025-02-19 10:41:55 -08:00
parent a5f2db3744
commit 32dd67957d

View File

@ -89,7 +89,7 @@ func TestClientStream(t *testing.T) {
statusCode: http.StatusBadRequest,
},
},
wantErr: "test structured error",
wantErr: "test structured error\ntest hint",
},
{
name: "error after chunks - basic format",
@ -117,7 +117,7 @@ func TestClientStream(t *testing.T) {
statusCode: http.StatusOK,
},
},
wantErr: "mid-stream structured error",
wantErr: "mid-stream structured error\nadditional context",
},
{
name: "successful stream completion",