aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-03-30 05:33:30 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-03-30 05:44:40 +0300
commita0cf4f18b61fca54e58bf9bc7096807e83776be7 (patch)
treeef798fad22ee803fdf574e127ec4b70748d49971
parentcc0d0419d1785b914832d68319402a1bab2aebaf (diff)
downloadydb-a0cf4f18b61fca54e58bf9bc7096807e83776be7.tar.gz
Intermediate changes
-rw-r--r--yt/yt/core/misc/unittests/error_ut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt/yt/core/misc/unittests/error_ut.cpp b/yt/yt/core/misc/unittests/error_ut.cpp
index f1fc1d9bd4..6fc88ef8ab 100644
--- a/yt/yt/core/misc/unittests/error_ut.cpp
+++ b/yt/yt/core/misc/unittests/error_ut.cpp
@@ -687,10 +687,10 @@ TEST(TErrorTest, YTExceptionWithAttributesToError)
{
try {
throw TSimpleException("message")
- << TExceptionAttribute("Int64 value", static_cast<i64>(42))
- << TExceptionAttribute("double value", 7.77)
- << TExceptionAttribute("bool value", false)
- << TExceptionAttribute("String value", "FooBar");
+ << TExceptionAttribute{"Int64 value", static_cast<i64>(42)}
+ << TExceptionAttribute{"double value", 7.77}
+ << TExceptionAttribute{"bool value", false}
+ << TExceptionAttribute{"String value", "FooBar"};
} catch (const std::exception& ex) {
TError error(ex);
EXPECT_EQ(NYT::EErrorCode::Generic, error.GetCode());