aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/thread_ut.cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /util/system/thread_ut.cpp
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/thread_ut.cpp')
-rw-r--r--util/system/thread_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/thread_ut.cpp b/util/system/thread_ut.cpp
index b99a200864..d820898fd5 100644
--- a/util/system/thread_ut.cpp
+++ b/util/system/thread_ut.cpp
@@ -2,8 +2,8 @@
#include <library/cpp/testing/unittest/registar.h>
-#include <atomic>
-
+#include <atomic>
+
Y_UNIT_TEST_SUITE(TSysThreadTest) {
struct TIdTester {
inline TIdTester()
@@ -22,13 +22,13 @@ Y_UNIT_TEST_SUITE(TSysThreadTest) {
inline void Run() {
Cur = TThread::CurrentThreadId();
Real = Thr->Id();
- Numeric = TThread::CurrentThreadNumericId();
+ Numeric = TThread::CurrentThreadNumericId();
}
TThread* Thr;
TThread::TId Cur;
TThread::TId Real;
- TThread::TId Numeric;
+ TThread::TId Numeric;
};
Y_UNIT_TEST(TestThreadId) {
@@ -42,8 +42,8 @@ Y_UNIT_TEST_SUITE(TSysThreadTest) {
UNIT_ASSERT_EQUAL(tst.Cur, tst.Real);
UNIT_ASSERT(tst.Cur != 0);
- UNIT_ASSERT(tst.Numeric != 0);
- UNIT_ASSERT(tst.Numeric != tst.Real);
+ UNIT_ASSERT(tst.Numeric != 0);
+ UNIT_ASSERT(tst.Numeric != tst.Real);
}
void* ThreadProc(void*) {