aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf
diff options
context:
space:
mode:
authora-sidorin <a-sidorin@yandex-team.ru>2022-02-10 16:50:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:02 +0300
commit9473a88c91129dfe21343af486bebb93a0b33291 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf
parent4ffc252d74adad4b93762976940ef53012cb98df (diff)
downloadydb-9473a88c91129dfe21343af486bebb93a0b33291.tar.gz
Restoring authorship annotation for <a-sidorin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf')
-rw-r--r--library/cpp/protobuf/json/json2proto.cpp2
-rw-r--r--library/cpp/protobuf/json/ut/json2proto_ut.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/protobuf/json/json2proto.cpp b/library/cpp/protobuf/json/json2proto.cpp
index 6916d23b0e..640c10f5a5 100644
--- a/library/cpp/protobuf/json/json2proto.cpp
+++ b/library/cpp/protobuf/json/json2proto.cpp
@@ -88,7 +88,7 @@ JsonString2Field(const NJson::TJsonValue& json,
Y_ASSERT(!!reflection);
if (!json.IsString() && !config.CastRobust) {
- ythrow yexception() << "Invalid type of JSON field '" << field.name() << "': "
+ ythrow yexception() << "Invalid type of JSON field '" << field.name() << "': "
<< "IsString() failed while "
<< "CPPTYPE_STRING is expected.";
}
diff --git a/library/cpp/protobuf/json/ut/json2proto_ut.cpp b/library/cpp/protobuf/json/ut/json2proto_ut.cpp
index 9d8d8bb19a..0dfe57bc7a 100644
--- a/library/cpp/protobuf/json/ut/json2proto_ut.cpp
+++ b/library/cpp/protobuf/json/ut/json2proto_ut.cpp
@@ -985,7 +985,7 @@ Y_UNIT_TEST(TestMapAsObjectConfigNotSet) {
TJson2ProtoConfig config;
UNIT_ASSERT_EXCEPTION_CONTAINS(
Json2Proto<TMapType>(modelStr, config), yexception,
- "Map as object representation is not allowed");
+ "Map as object representation is not allowed");
} // TestMapAsObjectNotSet
Y_UNIT_TEST(TestMergeFlatOptional) {