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 | e6e69f125cd76964f671d872789f529798c82b85 (patch) | |
tree | 0d1e02bec34e8f1c2cd3f8247681dc897274009e | |
parent | 707ef321bf057fe3d00103ed5b2c59bc1580f56c (diff) | |
download | ydb-e6e69f125cd76964f671d872789f529798c82b85.tar.gz |
Restoring authorship annotation for <yurikiselev@yandex-team.ru>. Commit 1 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 dfd7751d64..dcf001329d 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 21eccef779..d55e4d890b 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")); |