diff options
author | melkov <melkov@yandex-team.ru> | 2022-02-10 16:48:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:13 +0300 |
commit | 438546c8737d5c1fdeb31157dcf999717d930eec (patch) | |
tree | d29d229abd2f9f889b9b7eb148d635059dc26acf /util/system/thread_ut.cpp | |
parent | 96647fad5355ff5ef45a00a6d85c097028584ab0 (diff) | |
download | ydb-438546c8737d5c1fdeb31157dcf999717d930eec.tar.gz |
Restoring authorship annotation for <melkov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/thread_ut.cpp')
-rw-r--r-- | util/system/thread_ut.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/thread_ut.cpp b/util/system/thread_ut.cpp index d820898fd5..8d0b023da0 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; } |