aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/thread_ut.cpp
diff options
context:
space:
mode:
authormelkov <melkov@yandex-team.ru>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:14 +0300
commit2c532b38e6aeb4fd88531027c7335690fd34c4e5 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/thread_ut.cpp
parent438546c8737d5c1fdeb31157dcf999717d930eec (diff)
downloadydb-2c532b38e6aeb4fd88531027c7335690fd34c4e5.tar.gz
Restoring authorship annotation for <melkov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/thread_ut.cpp')
-rw-r--r--util/system/thread_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/thread_ut.cpp b/util/system/thread_ut.cpp
index 8d0b023da0..d820898fd5 100644
--- a/util/system/thread_ut.cpp
+++ b/util/system/thread_ut.cpp
@@ -66,11 +66,11 @@ Y_UNIT_TEST_SUITE(TSysThreadTest) {
TThread::SetCurrentThreadName(setName.data());
const auto getName = TThread::CurrentThreadName();
- if (TThread::CanGetCurrentThreadName()) {
- UNIT_ASSERT_VALUES_EQUAL(setName, getName);
- } else {
- UNIT_ASSERT_VALUES_EQUAL("", getName);
- }
+ if (TThread::CanGetCurrentThreadName()) {
+ UNIT_ASSERT_VALUES_EQUAL(setName, getName);
+ } else {
+ UNIT_ASSERT_VALUES_EQUAL("", getName);
+ }
return nullptr;
}
@@ -97,11 +97,11 @@ Y_UNIT_TEST_SUITE(TSysThreadTest) {
thread.Join();
const auto getName = TThread::CurrentThreadName();
- if (TThread::CanGetCurrentThreadName()) {
- UNIT_ASSERT_VALUES_EQUAL(setName, getName);
- } else {
- UNIT_ASSERT_VALUES_EQUAL("", getName);
- }
+ if (TThread::CanGetCurrentThreadName()) {
+ UNIT_ASSERT_VALUES_EQUAL(setName, getName);
+ } else {
+ UNIT_ASSERT_VALUES_EQUAL("", getName);
+ }
return nullptr;
}