diff options
author | yurikiselev <yurikiselev@yandex-team.ru> | 2022-02-10 16:47:58 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:58 +0300 |
commit | 83602b1b564b92a80a1526d113fa2846661dd10e (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c | |
parent | e6e69f125cd76964f671d872789f529798c82b85 (diff) | |
download | ydb-83602b1b564b92a80a1526d113fa2846661dd10e.tar.gz |
Restoring authorship annotation for <yurikiselev@yandex-team.ru>. Commit 2 of 2.
-rw-r--r-- | contrib/libs/libevent/kqueue.c | 2 | ||||
-rw-r--r-- | util/string/subst_ut.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/libevent/kqueue.c b/contrib/libs/libevent/kqueue.c index dcf001329d..dfd7751d64 100644 --- a/contrib/libs/libevent/kqueue.c +++ b/contrib/libs/libevent/kqueue.c @@ -159,7 +159,7 @@ kq_init(struct event_base *base) if (kevent(kq, kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || (int)kqueueop->events[0].ident != -1 || - !(kqueueop->events[0].flags & EV_ERROR)) { + !(kqueueop->events[0].flags & EV_ERROR)) { event_warn("%s: detected broken kqueue; not using.", __func__); goto err; } diff --git a/util/string/subst_ut.cpp b/util/string/subst_ut.cpp index d55e4d890b..21eccef779 100644 --- a/util/string/subst_ut.cpp +++ b/util/string/subst_ut.cpp @@ -136,7 +136,7 @@ Y_UNIT_TEST_SUITE(TStringSubst) { s = "Москва ~ Париж"; SubstGlobal(s, " ~ ", " "); UNIT_ASSERT_EQUAL(s, TString("Москва Париж")); - } + } Y_UNIT_TEST(TestSubstGlobalOldRet) { const TString s1 = "aaa"; @@ -164,7 +164,7 @@ Y_UNIT_TEST_SUITE(TStringSubst) { TUtf16String w = u"abcdabcd"; SubstGlobal(w, wchar16('b'), wchar16('B'), 3); UNIT_ASSERT_EQUAL(w, u"abcdaBcd"); - + TString s = "aaa"; SubstGlobal(s, 'a', 'b', 1); UNIT_ASSERT_EQUAL(s, TString("abb")); |