Skip to content

Commit 97a455c

Browse files
authored
fix test message (#18206)
1 parent da5cb37 commit 97a455c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/core/kqp/ut/opt/kqp_returning_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Y_UNIT_TEST(ReturningSerial) {
294294
auto result = session.ExecuteDataQuery(query, TTxControl::BeginTx().CommitTx()).GetValueSync();
295295
UNIT_ASSERT(!result.IsSuccess());
296296
Cerr << result.GetIssues().ToString(true) << Endl;
297-
UNIT_ASSERT(result.GetIssues().ToString(true) == "{ <main>: Error: Type annotation, code: 1030 subissue: { <main>:3:25: Error: At function: DataQueryBlocks, At function: TKiDataQueryBlock, At function: KiReturningList! subissue: { <main>:3:25: Error: Column not found: fake } } }");
297+
UNIT_ASSERT_STRING_CONTAINS(result.GetIssues().ToString(true), "Column not found: fake");
298298
}
299299

300300
{

ydb/core/kqp/ut/pg/kqp_pg_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ Y_UNIT_TEST_SUITE(KqpPg) {
15531553
auto result = session.ExecuteDataQuery(query, TTxControl::BeginTx().CommitTx()).GetValueSync();
15541554
UNIT_ASSERT(!result.IsSuccess());
15551555
Cerr << result.GetIssues().ToString(true) << Endl;
1556-
UNIT_ASSERT(result.GetIssues().ToString(true) == "{ <main>: Error: Type annotation, code: 1030 subissue: { <main>:1:1: Error: At function: DataQueryBlocks, At function: TKiDataQueryBlock, At function: KiReturningList! subissue: { <main>:1:1: Error: Column not found: fake } } }");
1556+
UNIT_ASSERT_STRING_CONTAINS(result.GetIssues().ToString(true), "Column not found: fake");
15571557
}
15581558

15591559
{

0 commit comments

Comments
 (0)