diff options
author | Alexey Borzenkov <[email protected]> | 2022-02-10 16:47:41 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:41 +0300 |
commit | 22d92781ba2a10b7fb5b977b7d1a5c40ff53885f (patch) | |
tree | 852611fd27f734847435b37aa5b0ad5d8b1c10ac /library/cpp/threading/future/future_ut.cpp | |
parent | 667a4ee7da2e004784b9c3cfab824a81e96f4d66 (diff) |
Restoring authorship annotation for Alexey Borzenkov <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/threading/future/future_ut.cpp')
-rw-r--r-- | library/cpp/threading/future/future_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/threading/future/future_ut.cpp b/library/cpp/threading/future/future_ut.cpp index 05950a568d4..377154e8670 100644 --- a/library/cpp/threading/future/future_ut.cpp +++ b/library/cpp/threading/future/future_ut.cpp @@ -168,7 +168,7 @@ namespace { TTestCallback callback(123); TFuture<int> future = promise.GetFuture() - .Apply([&](const auto& theFuture) { return callback.Func(theFuture); }); + .Apply([&](const auto& theFuture) { return callback.Func(theFuture); }); promise.SetValue(456); UNIT_ASSERT_EQUAL(future.GetValue(), 123 + 456); @@ -180,7 +180,7 @@ namespace { TTestCallback callback(123); TFuture<void> future = promise.GetFuture() - .Apply([&](const auto& theFuture) { return callback.VoidFunc(theFuture); }); + .Apply([&](const auto& theFuture) { return callback.VoidFunc(theFuture); }); promise.SetValue(456); UNIT_ASSERT(future.HasValue()); @@ -191,7 +191,7 @@ namespace { TTestCallback callback(123); TFuture<int> future = promise.GetFuture() - .Apply([&](const auto& theFuture) { return callback.FutureFunc(theFuture); }); + .Apply([&](const auto& theFuture) { return callback.FutureFunc(theFuture); }); promise.SetValue(456); UNIT_ASSERT_EQUAL(future.GetValue(), 123 + 456); @@ -203,7 +203,7 @@ namespace { TTestCallback callback(123); TFuture<void> future = promise.GetFuture() - .Apply([&](const auto& theFuture) { return callback.FutureVoidFunc(theFuture); }); + .Apply([&](const auto& theFuture) { return callback.FutureVoidFunc(theFuture); }); promise.SetValue(456); UNIT_ASSERT(!future.HasValue()); |