diff options
| author | robot-piglet <[email protected]> | 2025-12-16 13:56:34 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-12-16 14:19:15 +0300 |
| commit | 5d5ed092a63ec79ee5f56a015d75daf6de5bfeef (patch) | |
| tree | 3769d35fb64257d5d25d423633cb8f48d4d42007 /library/cpp | |
| parent | ab5e2ddaa96b3f6681fb3187c509872a2c7c5819 (diff) | |
Intermediate changes
commit_hash:01073d5debabb2b7da51639f6d5137155132d193
Diffstat (limited to 'library/cpp')
| -rw-r--r-- | library/cpp/yt/error/unittests/error_code_ut.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/library/cpp/yt/error/unittests/error_code_ut.cpp b/library/cpp/yt/error/unittests/error_code_ut.cpp index 833982ea020..807cf0b650c 100644 --- a/library/cpp/yt/error/unittests/error_code_ut.cpp +++ b/library/cpp/yt/error/unittests/error_code_ut.cpp @@ -40,10 +40,9 @@ namespace NInternalLittleWorld { //////////////////////////////////////////////////////////////////////////////// YT_DEFINE_ERROR_ENUM( - ((A) (-1)) - ((B) (-2)) - ((C) (-3)) - ((D) (-4)) + ((A) (-2)) + ((B) (-3)) + ((C) (-4)) ); //////////////////////////////////////////////////////////////////////////////// @@ -94,7 +93,7 @@ TEST(TErrorCodeRegistryTest, Basic) #endif EXPECT_EQ( TErrorCodeRegistry::Get()->Get(-3), - (TErrorCodeRegistry::TErrorCodeInfo{"NYT::NInternalLittleWorld", "C"})); + (TErrorCodeRegistry::TErrorCodeInfo{"NYT::NInternalLittleWorld", "B"})); EXPECT_EQ( TErrorCodeRegistry::Get()->Get(-33), (TErrorCodeRegistry::TErrorCodeInfo{"NExternalWorld", "Z"})); |
