From 32dd67957df676233d54bff62cbdad9f4086c3f0 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Wed, 19 Feb 2025 10:41:55 -0800 Subject: [PATCH] fix tests --- api/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client_test.go b/api/client_test.go index 80d0c27a8..e6eead474 100644 --- a/api/client_test.go +++ b/api/client_test.go @@ -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",