From 5d5ed092a63ec79ee5f56a015d75daf6de5bfeef Mon Sep 17 00:00:00 2001 From: robot-piglet Date: Tue, 16 Dec 2025 13:56:34 +0300 Subject: Intermediate changes commit_hash:01073d5debabb2b7da51639f6d5137155132d193 --- library/cpp/yt/error/unittests/error_code_ut.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'library/cpp/yt/error/unittests/error_code_ut.cpp') 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"})); -- cgit v1.3