aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-30 22:25:11 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-30 22:25:11 +0300
commit35889738d268486c400d0324ba50b570dc2b39f5 (patch)
tree88e210d6efc9694faf32b0d41f08f5af1c9f3233 /tools
parentd29a0b28f5078c91efce67d27e9eee433159d999 (diff)
downloadydb-35889738d268486c400d0324ba50b570dc2b39f5.tar.gz
intermediate changes
ref:c489dc210b013357f86ad0714dedd577aa73f75c
Diffstat (limited to 'tools')
-rw-r--r--tools/enum_parser/parse_enum/ut/enums.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/enum_parser/parse_enum/ut/enums.cpp b/tools/enum_parser/parse_enum/ut/enums.cpp
index a03045855e..92e5470680 100644
--- a/tools/enum_parser/parse_enum/ut/enums.cpp
+++ b/tools/enum_parser/parse_enum/ut/enums.cpp
@@ -189,6 +189,11 @@ Y_UNIT_TEST_SUITE(TEnumGeneratorTest) {
UNIT_ASSERT_VALUES_EQUAL(names.at(HThree), "HThree");
}
+ Y_UNIT_TEST(ToStringBufHeaderTest) {
+ UNIT_ASSERT_VALUES_EQUAL(ToStringBuf(HOne), "one"sv);
+ UNIT_ASSERT_VALUES_EQUAL(ToStringBuf(HTwo), "HTwo"sv);
+ }
+
Y_UNIT_TEST(EnumSerializerDestructionPriority) {
Singleton<TEnumSerializationInitializerHolder>()->Init();
}