aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/packers/ut
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/packers/ut
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/packers/ut')
-rw-r--r--library/cpp/packers/ut/proto_packer_ut.cpp2
-rw-r--r--library/cpp/packers/ut/region_packer_ut.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/packers/ut/proto_packer_ut.cpp b/library/cpp/packers/ut/proto_packer_ut.cpp
index a60610b52b..e4151ba68c 100644
--- a/library/cpp/packers/ut/proto_packer_ut.cpp
+++ b/library/cpp/packers/ut/proto_packer_ut.cpp
@@ -25,7 +25,7 @@ void FillRepeatedFields(TTestMessage& msg) {
}
}
-// do not want to use google/protobuf/util/message_differencer because of warnings
+// do not want to use google/protobuf/util/message_differencer because of warnings
bool operator==(const TTestMessage& lhs, const TTestMessage& rhs) {
if (lhs.GetRequiredString() != rhs.GetRequiredString() ||
lhs.GetRequiredInt32() != rhs.GetRequiredInt32() ||
diff --git a/library/cpp/packers/ut/region_packer_ut.cpp b/library/cpp/packers/ut/region_packer_ut.cpp
index 37f05f327a..0cb08ccf65 100644
--- a/library/cpp/packers/ut/region_packer_ut.cpp
+++ b/library/cpp/packers/ut/region_packer_ut.cpp
@@ -8,7 +8,7 @@ void TestPacker() {
TRegionPacker<TValue> p;
- using TValues = TArrayRef<TValue>;
+ using TValues = TArrayRef<TValue>;
TValues valueRegion = TValues(values, Y_ARRAY_SIZE(values));
size_t sz = p.MeasureLeaf(valueRegion);
UNIT_ASSERT_VALUES_EQUAL(sz, 1 + sizeof(values));
@@ -18,9 +18,9 @@ void TestPacker() {
UNIT_ASSERT_VALUES_EQUAL(buffer[0], 4);
p.UnpackLeaf(buffer.data(), valueRegion);
- UNIT_ASSERT_EQUAL(valueRegion.data(), (const TValue*)(buffer.begin() + 1));
- UNIT_ASSERT_EQUAL(valueRegion.size(), Y_ARRAY_SIZE(values));
- UNIT_ASSERT_EQUAL(0, memcmp(values, valueRegion.data(), sizeof(values)));
+ UNIT_ASSERT_EQUAL(valueRegion.data(), (const TValue*)(buffer.begin() + 1));
+ UNIT_ASSERT_EQUAL(valueRegion.size(), Y_ARRAY_SIZE(values));
+ UNIT_ASSERT_EQUAL(0, memcmp(values, valueRegion.data(), sizeof(values)));
}
Y_UNIT_TEST_SUITE(RegionPacker) {