diff options
| author | robot-piglet <[email protected]> | 2025-12-17 01:37:14 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-12-17 01:48:46 +0300 |
| commit | 044b543dbd74389a98687266ea16ad335c3d1f75 (patch) | |
| tree | 6e584862fff73be11aa1b48a4dde1a968b2e4b34 /tools/enum_parser | |
| parent | 145abafe39ddfc015a3751acd59e0460b6c2218b (diff) | |
Intermediate changes
commit_hash:43754feece2fe78eb88ba745ec1e6ff96a8f0c66
Diffstat (limited to 'tools/enum_parser')
| -rw-r--r-- | tools/enum_parser/parse_enum/parse_enum_ut.cpp | 3 | ||||
| -rw-r--r-- | tools/enum_parser/parse_enum/ut/digit_separator.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/enum_parser/parse_enum/parse_enum_ut.cpp b/tools/enum_parser/parse_enum/parse_enum_ut.cpp index e979f5119a8..5f7972d9a74 100644 --- a/tools/enum_parser/parse_enum/parse_enum_ut.cpp +++ b/tools/enum_parser/parse_enum/parse_enum_ut.cpp @@ -343,7 +343,8 @@ Y_UNIT_TEST_SUITE(TEnumParserTest) { const TEnum& e = enums[0]; UNIT_ASSERT_VALUES_EQUAL(e.CppName, "ELiterals"); static constexpr TNameValuePair ref[]{ - {"Char", "sizeof(u8'.')"}, + {"Char1", "sizeof(u8'.')"}, + {"Char2", "sizeof(u8'0')"}, {"Int", "123'456'789"}, {"Float1", "int(456'789.123'456)"}, {"Float2", "int(1'2e0'1)"}, diff --git a/tools/enum_parser/parse_enum/ut/digit_separator.h b/tools/enum_parser/parse_enum/ut/digit_separator.h index c7c8f526acc..d9d4a0ef38a 100644 --- a/tools/enum_parser/parse_enum/ut/digit_separator.h +++ b/tools/enum_parser/parse_enum/ut/digit_separator.h @@ -1,7 +1,8 @@ #pragma once enum class ELiterals { - Char = sizeof(u8'.'), + Char1 = sizeof(u8'.'), + Char2 = sizeof(u8'0'), Int = 123'456'789, Float1 = int(456'789.123'456), Float2 = int(1'2e0'1), |
