aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/unittest/registar.cpp
diff options
context:
space:
mode:
authorRuslan Kovalev <ruslan.a.kovalev@gmail.com>2022-02-10 16:46:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:44 +0300
commit59e19371de37995fcb36beb16cd6ec030af960bc (patch)
treefa68e36093ebff8b805462e9e6d331fe9d348214 /library/cpp/testing/unittest/registar.cpp
parent89db6fe2fe2c32d2a832ddfeb04e8d078e301084 (diff)
downloadydb-59e19371de37995fcb36beb16cd6ec030af960bc.tar.gz
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/registar.cpp')
-rw-r--r--library/cpp/testing/unittest/registar.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/testing/unittest/registar.cpp b/library/cpp/testing/unittest/registar.cpp
index 3679b768ed..7679b6647c 100644
--- a/library/cpp/testing/unittest/registar.cpp
+++ b/library/cpp/testing/unittest/registar.cpp
@@ -74,13 +74,13 @@ NUnitTest::TTestBase* ::NUnitTest::NPrivate::GetCurrentTest() {
struct TDiffColorizer {
NColorizer::TColors Colors;
- bool Reverse = false;
+ bool Reverse = false;
- explicit TDiffColorizer(bool reverse = false)
- : Reverse(reverse)
+ explicit TDiffColorizer(bool reverse = false)
+ : Reverse(reverse)
{
}
-
+
TString Special(TStringBuf str) const {
return ToString(Colors.YellowColor()) + str;
}
@@ -96,14 +96,14 @@ struct TDiffColorizer {
TString Right(TArrayRef<const char> str) const {
return ToString(GetRightColor()) + TString(str.begin(), str.end());
}
-
- TStringBuf GetLeftColor() const {
- return Reverse ? Colors.RedColor() : Colors.GreenColor();
- }
-
- TStringBuf GetRightColor() const {
- return Reverse ? Colors.GreenColor() : Colors.RedColor();
- }
+
+ TStringBuf GetLeftColor() const {
+ return Reverse ? Colors.RedColor() : Colors.GreenColor();
+ }
+
+ TStringBuf GetRightColor() const {
+ return Reverse ? Colors.GreenColor() : Colors.RedColor();
+ }
};
struct TTraceDiffFormatter {