aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/util/pb_io_ut.cpp
diff options
context:
space:
mode:
authorelshiko <elshiko@yandex-team.ru>2022-02-10 16:49:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:20 +0300
commit455ab915435b70e433ed91eee2ca84f03122d6cb (patch)
tree4570335e510c5cb009cca313349e2a29b4c62310 /library/cpp/protobuf/util/pb_io_ut.cpp
parent85ad20a00eb9c7d4dcae0debe5172d5f9bc6792f (diff)
downloadydb-455ab915435b70e433ed91eee2ca84f03122d6cb.tar.gz
Restoring authorship annotation for <elshiko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/util/pb_io_ut.cpp')
-rw-r--r--library/cpp/protobuf/util/pb_io_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/protobuf/util/pb_io_ut.cpp b/library/cpp/protobuf/util/pb_io_ut.cpp
index 875d6dc602..cb08001997 100644
--- a/library/cpp/protobuf/util/pb_io_ut.cpp
+++ b/library/cpp/protobuf/util/pb_io_ut.cpp
@@ -45,8 +45,8 @@ static const TString INCORRECT_ENUM_ID_MESSAGE =
static const TString CORRECT_BASE64_MESSAGE = "CCo,";
-static const TString CORRECT_UNEVEN_BASE64_MESSAGE = "CCo";
-
+static const TString CORRECT_UNEVEN_BASE64_MESSAGE = "CCo";
+
static const TString INCORRECT_BASE64_MESSAGE = "CC";
Y_UNIT_TEST_SUITE(TTestProtoBufIO) {
@@ -60,14 +60,14 @@ Y_UNIT_TEST_SUITE(TTestProtoBufIO) {
UNIT_ASSERT(!NProtoBuf::TryParseFromBase64String(INCORRECT_BASE64_MESSAGE, message));
}
{
- NProtobufUtilUt::TTextTest message;
- UNIT_ASSERT(NProtoBuf::TryParseFromBase64String(CORRECT_UNEVEN_BASE64_MESSAGE , message, true));
- }
- {
- NProtobufUtilUt::TTextTest message;
- UNIT_ASSERT(!NProtoBuf::TryParseFromBase64String(CORRECT_UNEVEN_BASE64_MESSAGE , message, false));
- }
- {
+ NProtobufUtilUt::TTextTest message;
+ UNIT_ASSERT(NProtoBuf::TryParseFromBase64String(CORRECT_UNEVEN_BASE64_MESSAGE , message, true));
+ }
+ {
+ NProtobufUtilUt::TTextTest message;
+ UNIT_ASSERT(!NProtoBuf::TryParseFromBase64String(CORRECT_UNEVEN_BASE64_MESSAGE , message, false));
+ }
+ {
UNIT_ASSERT_VALUES_EQUAL(CORRECT_BASE64_MESSAGE, NProtoBuf::SerializeToBase64String(GetCorrectMessage()));
}
{