aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/is_in_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/is_in_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/is_in_ut.cpp')
-rw-r--r--util/generic/is_in_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/is_in_ut.cpp b/util/generic/is_in_ut.cpp
index b60f7a8239..c668bce807 100644
--- a/util/generic/is_in_ut.cpp
+++ b/util/generic/is_in_ut.cpp
@@ -9,7 +9,7 @@
#include "strbuf.h"
#include "string.h"
-Y_UNIT_TEST_SUITE(TIsIn) {
+Y_UNIT_TEST_SUITE(TIsIn) {
template <class TCont, class T>
void TestIsInWithCont(const T& elem) {
class TMapMock: public TCont {
@@ -40,7 +40,7 @@ Y_UNIT_TEST_SUITE(TIsIn) {
m.FindCalled = 0;
}
- Y_UNIT_TEST(IsInTest) {
+ Y_UNIT_TEST(IsInTest) {
TestIsInWithCont<TMap<TString, TString>>(std::make_pair("found", "1"));
TestIsInWithCont<TMultiMap<TString, TString>>(std::make_pair("found", "1"));
TestIsInWithCont<THashMap<TString, TString>>(std::make_pair("found", "1"));
@@ -71,7 +71,7 @@ Y_UNIT_TEST_SUITE(TIsIn) {
UNIT_ASSERT(!IsIn(b, 'z'));
}
- Y_UNIT_TEST(IsInInitListTest) {
+ Y_UNIT_TEST(IsInInitListTest) {
const char* abc = "abc";
const char* def = "def";
@@ -94,9 +94,9 @@ Y_UNIT_TEST_SUITE(TIsIn) {
UNIT_ASSERT(IsIn({"abc", "def"}, TStringBuf{str.data(), 3}));
}
- Y_UNIT_TEST(ConfOfTest) {
- UNIT_ASSERT(IsIn({1, 2, 3}, 1));
- UNIT_ASSERT(!IsIn({1, 2, 3}, 4));
+ Y_UNIT_TEST(ConfOfTest) {
+ UNIT_ASSERT(IsIn({1, 2, 3}, 1));
+ UNIT_ASSERT(!IsIn({1, 2, 3}, 4));
const TString b = "b";