aboutsummaryrefslogtreecommitdiffstats
path: root/util/ysaveload_ut.cpp
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:19 +0300
commitbd085aee9b4f7a0bee302ce687964ffb7098f986 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/ysaveload_ut.cpp
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
downloadydb-bd085aee9b4f7a0bee302ce687964ffb7098f986.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/ysaveload_ut.cpp')
-rw-r--r--util/ysaveload_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/ysaveload_ut.cpp b/util/ysaveload_ut.cpp
index 3f6c9d8bd1..723c68f391 100644
--- a/util/ysaveload_ut.cpp
+++ b/util/ysaveload_ut.cpp
@@ -284,9 +284,9 @@ private:
}
UNIT_ASSERT_EQUAL(values.size(), 3);
- UNIT_ASSERT_EQUAL(values.contains(3), true);
- UNIT_ASSERT_EQUAL(values.contains(4), true);
- UNIT_ASSERT_EQUAL(values.contains(5), true);
+ UNIT_ASSERT_EQUAL(values.contains(3), true);
+ UNIT_ASSERT_EQUAL(values.contains(4), true);
+ UNIT_ASSERT_EQUAL(values.contains(5), true);
}
{
@@ -413,11 +413,11 @@ private:
TBufferStream s;
::Save(&s, v);
::Load(&s, v);
- UNIT_ASSERT_VALUES_EQUAL(std::get<T>(v), expected);
+ UNIT_ASSERT_VALUES_EQUAL(std::get<T>(v), expected);
}
void TestVariant() {
- std::variant<int, bool, TString, TVector<char>> v(1);
+ std::variant<int, bool, TString, TVector<char>> v(1);
TestVariantImpl(v, 42);
TestVariantImpl(v, true);
TestVariantImpl(v, TString("foo"));
@@ -427,7 +427,7 @@ private:
TBufferStream s;
::Save(&s, v);
- std::variant<char, bool> v2 = false;
+ std::variant<char, bool> v2 = false;
UNIT_ASSERT_EXCEPTION(::Load(&s, v2), TLoadEOF);
}