diff options
author | kerzum <kerzum@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
commit | 47a7e7b29636bfb2deb1df5f92363b3c75229c95 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/regex/pire/ut | |
parent | 9a7232babfd763ccfe827bc70e82e0f50cfd8276 (diff) | |
download | ydb-47a7e7b29636bfb2deb1df5f92363b3c75229c95.tar.gz |
Restoring authorship annotation for <kerzum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pire/ut')
-rw-r--r-- | library/cpp/regex/pire/ut/regexp_ut.cpp | 12 | ||||
-rw-r--r-- | library/cpp/regex/pire/ut/ya.make | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/regex/pire/ut/regexp_ut.cpp b/library/cpp/regex/pire/ut/regexp_ut.cpp index 4cd650d0c7e..e7206de9ad4 100644 --- a/library/cpp/regex/pire/ut/regexp_ut.cpp +++ b/library/cpp/regex/pire/ut/regexp_ut.cpp @@ -133,13 +133,13 @@ Y_UNIT_TEST_SUITE(TRegExp) { } Y_UNIT_TEST(Capture5) { - TCapturingFsm fsm("away\\.php\\?to=http:([^\"])+\""); - TSearcher searcher(fsm); - searcher.Search("\"/away.php?to=http:some.addr\"&id=1"); - UNIT_ASSERT(searcher.Captured()); + TCapturingFsm fsm("away\\.php\\?to=http:([^\"])+\""); + TSearcher searcher(fsm); + searcher.Search("\"/away.php?to=http:some.addr\"&id=1"); + UNIT_ASSERT(searcher.Captured()); //UNIT_ASSERT_VALUES_EQUAL(searcher.GetCaptured(), TStringBuf("some.addr")); - } - + } + Y_UNIT_TEST(Capture6) { TCapturingFsm fsm("(/to-match-with)"); TSearcher searcher(fsm); diff --git a/library/cpp/regex/pire/ut/ya.make b/library/cpp/regex/pire/ut/ya.make index d829288432d..8776695f405 100644 --- a/library/cpp/regex/pire/ut/ya.make +++ b/library/cpp/regex/pire/ut/ya.make @@ -1,5 +1,5 @@ # this test in not linked into build tree with ReCURSE and is built by unittest/library - + UNITTEST() OWNER( @@ -11,9 +11,9 @@ SET(PIRETESTSDIR contrib/libs/pire/ut) CFLAGS(-DPIRE_NO_CONFIG) -PEERDIR( +PEERDIR( library/cpp/regex/pire -) +) SRCDIR( ${PIRETESTSDIR} |