@@ -1088,7 +1088,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
1088
1088
NUdf::TUnboxedValue item;
1089
1089
while (!expected.empty ()) {
1090
1090
UNIT_ASSERT (iterator.Next (item));
1091
- TString actual = item.AsStringRef (). Data ( );
1091
+ const auto actual = TString ( item.AsStringRef ());
1092
1092
1093
1093
auto it = expected.find (actual);
1094
1094
UNIT_ASSERT (it != expected.end ());
@@ -1178,7 +1178,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
1178
1178
NUdf::TUnboxedValue item;
1179
1179
while (!expected.empty ()) {
1180
1180
UNIT_ASSERT (iterator.Next (item));
1181
- TString actual = item.AsStringRef (). Data ( );
1181
+ const auto actual = TString ( item.AsStringRef ());
1182
1182
1183
1183
auto it = expected.find (actual);
1184
1184
UNIT_ASSERT (it != expected.end ());
@@ -1266,7 +1266,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
1266
1266
NUdf::TUnboxedValue item;
1267
1267
while (!expected.empty ()) {
1268
1268
UNIT_ASSERT (iterator.Next (item));
1269
- TString actual = item.AsStringRef (). Data ( );
1269
+ const auto actual = TString ( item.AsStringRef ());
1270
1270
1271
1271
auto it = expected.find (actual);
1272
1272
UNIT_ASSERT (it != expected.end ());
@@ -1343,7 +1343,7 @@ Y_UNIT_TEST_SUITE(TMiniKQLWideLastCombinerTest) {
1343
1343
NUdf::TUnboxedValue item;
1344
1344
while (!expected.empty ()) {
1345
1345
UNIT_ASSERT (iterator.Next (item));
1346
- TString actual = item.AsStringRef (). Data ( );
1346
+ const auto actual = TString ( item.AsStringRef ());
1347
1347
1348
1348
auto it = expected.find (actual);
1349
1349
UNIT_ASSERT (it != expected.end ());
0 commit comments