소스 검색

fix tests

Bruce MacDonald 2 달 전
부모
커밋
32dd67957d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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",