diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/logger/log_ut.cpp | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/log_ut.cpp')
-rw-r--r-- | library/cpp/logger/log_ut.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/logger/log_ut.cpp b/library/cpp/logger/log_ut.cpp index a46bf5c7b3..8de46f17f5 100644 --- a/library/cpp/logger/log_ut.cpp +++ b/library/cpp/logger/log_ut.cpp @@ -7,7 +7,7 @@ #include <util/system/yield.h> #include <util/memory/blob.h> #include <util/stream/file.h> -#include <util/generic/string.h> +#include <util/generic/string.h> #include <util/generic/vector.h> class TLogTest: public TTestBase { @@ -56,7 +56,7 @@ void TLogTest::TestFile() { TBlob data = TBlob::FromFileSingleThreaded(LOGFILE); - UNIT_ASSERT_EQUAL(TString((const char*)data.Begin(), data.Size()), "some useful data 12, 34, 3.000000, qwqwqw\n"); + UNIT_ASSERT_EQUAL(TString((const char*)data.Begin(), data.Size()), "some useful data 12, 34, 3.000000, qwqwqw\n"); } void TLogTest::TestThreaded() { @@ -75,7 +75,7 @@ void TLogTest::TestThreaded() { TBlob data = TBlob::FromFileSingleThreaded(LOGFILE); - UNIT_ASSERT_EQUAL(TString((const char*)data.Begin(), data.Size()), "some useful data 12, 34, 3.000000, qwqwqw\n"); + UNIT_ASSERT_EQUAL(TString((const char*)data.Begin(), data.Size()), "some useful data 12, 34, 3.000000, qwqwqw\n"); } void TLogTest::TestThreadedWithOverflow() { @@ -166,13 +166,13 @@ void TLogTest::TestFormat() { void TLogTest::TestWrite() { TStringStream data; - TString test; + TString test; { TLog log(THolder(new TStreamLogBackend(&data))); for (size_t i = 0; i < 1000; ++i) { - TVector<char> buf(i, (char)i); + TVector<char> buf(i, (char)i); test.append(buf.data(), buf.size()); log.Write(buf.data(), buf.size()); |