From 2a4a975b112fa0fa138abc7457fe67e0e1e7fd02 Mon Sep 17 00:00:00 2001 From: ermolovd Date: Thu, 10 Feb 2022 16:47:53 +0300 Subject: Restoring authorship annotation for . Commit 2 of 2. --- library/cpp/threading/future/future_ut.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/cpp/threading/future') diff --git a/library/cpp/threading/future/future_ut.cpp b/library/cpp/threading/future/future_ut.cpp index 14230c86a82..05950a568d4 100644 --- a/library/cpp/threading/future/future_ut.cpp +++ b/library/cpp/threading/future/future_ut.cpp @@ -232,12 +232,12 @@ namespace { } catch (...) { promise.SetException(std::current_exception()); } - + UNIT_ASSERT(!promise.HasValue()); UNIT_ASSERT(promise.HasException()); UNIT_ASSERT_EXCEPTION(promise.GetValue(), TCustomException); UNIT_ASSERT_EXCEPTION(promise.TryRethrow(), TCustomException); - } + } Y_UNIT_TEST(ShouldRethrowCallbackException) { TPromise promise = NewPromise(); -- cgit v1.3