Skip to content

Commit b33422f

Browse files
committed
Polish
1 parent fd9800c commit b33422f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/library/yql/parser/pg_wrapper/ut/arrow_ut.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Y_UNIT_TEST(PgConvertNumericDouble) {
6161
UNIT_ASSERT(expected[i] == nullptr);
6262
} else {
6363
const char* addr = item.AsStringRef().Data() + sizeof(void*);
64+
UNIT_ASSERT(expected[i] != nullptr);
6465
UNIT_ASSERT_VALUES_EQUAL(
6566
TString(DatumGetCString(DirectFunctionCall1(numeric_out, (Datum)addr))),
6667
expected[i]
@@ -96,6 +97,7 @@ Y_UNIT_TEST(PgConvertNumericInt) {
9697
UNIT_ASSERT(expected[i] == nullptr);
9798
} else {
9899
const char* addr = item.AsStringRef().Data() + sizeof(void*);
100+
UNIT_ASSERT(expected[i] != nullptr);
99101
UNIT_ASSERT_VALUES_EQUAL(
100102
TString(DatumGetCString(DirectFunctionCall1(numeric_out, (Datum)addr))),
101103
expected[i]

0 commit comments

Comments
 (0)