aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/unittest
diff options
context:
space:
mode:
authortimestep <timestep@yandex-team.ru>2022-02-10 16:49:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:17 +0300
commit38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch)
tree7570cb7cabf97af7ecb6ffe485e8037d516daa29 /library/cpp/testing/unittest
parenta0ffafe83b7d6229709a32fa942c71d672ac989c (diff)
downloadydb-38b4bd28ca420294f532ac7ca6b2770d60e3dfd0.tar.gz
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/unittest')
-rw-r--r--library/cpp/testing/unittest/registar.h2
-rw-r--r--library/cpp/testing/unittest/utmain.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h
index 44517a00924..c19fbf9dd27 100644
--- a/library/cpp/testing/unittest/registar.h
+++ b/library/cpp/testing/unittest/registar.h
@@ -939,7 +939,7 @@ public: \
static void AddTest(const char* name, \
const std::function<void(NUnitTest::TTestContext&)>& body, bool forceFork) \
{ \
- Tests().push_back([=]{ return MakeHolder<NUnitTest::TBaseTestCase>(name, body, forceFork); }); \
+ Tests().push_back([=]{ return MakeHolder<NUnitTest::TBaseTestCase>(name, body, forceFork); }); \
} \
\
static void AddTest(TTestCaseFactory testCaseFactory) { \
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp
index 305bc6b40fc..c5d8e0cf7bc 100644
--- a/library/cpp/testing/unittest/utmain.cpp
+++ b/library/cpp/testing/unittest/utmain.cpp
@@ -725,7 +725,7 @@ int NUnitTest::RunMain(int argc, char** argv) {
processor.SetTraceProcessor(new TTraceWriterProcessor(argv[i], OpenAlways | ForAppend));
} else if (strcmp(name, "--list-path") == 0) {
++i;
- listFile = MakeHolder<TFixedBufferFileOutput>(argv[i]);
+ listFile = MakeHolder<TFixedBufferFileOutput>(argv[i]);
listStream = listFile.Get();
} else if (strcmp(name, "--test-param") == 0) {
++i;