aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/pipe_ut.cpp
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/pipe_ut.cpp
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/pipe_ut.cpp')
-rw-r--r--util/system/pipe_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/pipe_ut.cpp b/util/system/pipe_ut.cpp
index 67cc0eb5f0..6d53432de8 100644
--- a/util/system/pipe_ut.cpp
+++ b/util/system/pipe_ut.cpp
@@ -1,15 +1,15 @@
#include "pipe.h"
#include <library/cpp/testing/unittest/registar.h>
-
+
Y_UNIT_TEST_SUITE(TPipeTest) {
Y_UNIT_TEST(TestPipe) {
- TPipe r;
- TPipe w;
- TPipe::Pipe(r, w);
- char c = 'a';
- UNIT_ASSERT(1 == w.Write(&c, 1));
- UNIT_ASSERT(1 == r.Read(&c, 1));
- UNIT_ASSERT_VALUES_EQUAL('a', c);
- }
-}
+ TPipe r;
+ TPipe w;
+ TPipe::Pipe(r, w);
+ char c = 'a';
+ UNIT_ASSERT(1 == w.Write(&c, 1));
+ UNIT_ASSERT(1 == r.Read(&c, 1));
+ UNIT_ASSERT_VALUES_EQUAL('a', c);
+ }
+}