aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/getpid_ut.cpp
diff options
context:
space:
mode:
authoronpopov <onpopov@yandex-team.ru>2022-02-10 16:50:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:38 +0300
commit84a29dd4980d5b39615e453f289bd1a81213296d (patch)
tree5e320f10d6b5863e0d5ab1a8caa9eefbdaa5195f /util/system/getpid_ut.cpp
parent1717072c6635948128dad7b015a0ec05acbe913b (diff)
downloadydb-84a29dd4980d5b39615e453f289bd1a81213296d.tar.gz
Restoring authorship annotation for <onpopov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/getpid_ut.cpp')
-rw-r--r--util/system/getpid_ut.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/util/system/getpid_ut.cpp b/util/system/getpid_ut.cpp
index e7122a2971..149e7f2082 100644
--- a/util/system/getpid_ut.cpp
+++ b/util/system/getpid_ut.cpp
@@ -1,19 +1,19 @@
-#include "getpid.h"
-
+#include "getpid.h"
+
#include <library/cpp/testing/unittest/registar.h>
-
-class TGetPidTest: public TTestBase {
- UNIT_TEST_SUITE(TGetPidTest);
- UNIT_TEST(Test);
- UNIT_TEST_SUITE_END();
-
-public:
- void Test();
-};
-
-UNIT_TEST_SUITE_REGISTRATION(TGetPidTest);
-
-void TGetPidTest::Test() {
+
+class TGetPidTest: public TTestBase {
+ UNIT_TEST_SUITE(TGetPidTest);
+ UNIT_TEST(Test);
+ UNIT_TEST_SUITE_END();
+
+public:
+ void Test();
+};
+
+UNIT_TEST_SUITE_REGISTRATION(TGetPidTest);
+
+void TGetPidTest::Test() {
const TProcessId pid = GetPID();
- UNIT_ASSERT(pid != 0);
-}
+ UNIT_ASSERT(pid != 0);
+}