Browse Source

fix tests

Bruce MacDonald 2 months ago
parent
commit
32dd67957d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/client_test.go

+ 2 - 2
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",