diff options
author | swarmer <swarmer@yandex-team.ru> | 2022-02-10 16:46:31 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:31 +0300 |
commit | 317da38588b7898a99fd9168571408123350012b (patch) | |
tree | 25eebc31526019ad39a6c1b13f492963d97ba439 /library/cpp/regex/pcre | |
parent | 3b2241461d41d41ba1a706b0750c4f0f55c344f6 (diff) | |
download | ydb-317da38588b7898a99fd9168571408123350012b.tar.gz |
Restoring authorship annotation for <swarmer@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/pcre')
-rw-r--r-- | library/cpp/regex/pcre/regexp_ut.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/regex/pcre/regexp_ut.cpp b/library/cpp/regex/pcre/regexp_ut.cpp index 5184e801cc..900d9587d8 100644 --- a/library/cpp/regex/pcre/regexp_ut.cpp +++ b/library/cpp/regex/pcre/regexp_ut.cpp @@ -50,7 +50,7 @@ private: UNIT_TEST_SUITE(TRegexpTest); UNIT_TEST(TestRe) UNIT_TEST(TestSubst) - UNIT_TEST(TestOffEndOfBuffer); + UNIT_TEST(TestOffEndOfBuffer); UNIT_TEST_SUITE_END(); inline void TestRe() { @@ -91,13 +91,13 @@ private: UNIT_ASSERT_VALUES_EQUAL(copyResult, newResult); } } - - void TestOffEndOfBuffer() { - const TString needle{".*[^./]gov[.].*"}; - TRegExMatch re{needle, REG_UTF8}; - const TString haystack{"fakty.ictv.ua"}; - UNIT_ASSERT_VALUES_EQUAL(re.Match(haystack.c_str()), false); - } + + void TestOffEndOfBuffer() { + const TString needle{".*[^./]gov[.].*"}; + TRegExMatch re{needle, REG_UTF8}; + const TString haystack{"fakty.ictv.ua"}; + UNIT_ASSERT_VALUES_EQUAL(re.Match(haystack.c_str()), false); + } }; UNIT_TEST_SUITE_REGISTRATION(TRegexpTest); |