diff options
| author | diver <[email protected]> | 2022-02-10 16:48:07 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:07 +0300 | 
| commit | e20e2b362f0232ed5a389db887e6e27e7763af18 (patch) | |
| tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/regex/pire | |
| parent | 7629e1f9ef7f9d2a3c345c97e6a4e5a4b32ee786 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pire')
| -rw-r--r-- | library/cpp/regex/pire/ut/regexp_ut.cpp | 24 | 
1 files changed, 12 insertions, 12 deletions
| diff --git a/library/cpp/regex/pire/ut/regexp_ut.cpp b/library/cpp/regex/pire/ut/regexp_ut.cpp index 651e986cef5..e7206de9ad4 100644 --- a/library/cpp/regex/pire/ut/regexp_ut.cpp +++ b/library/cpp/regex/pire/ut/regexp_ut.cpp @@ -141,21 +141,21 @@ Y_UNIT_TEST_SUITE(TRegExp) {      }      Y_UNIT_TEST(Capture6) { -        TCapturingFsm fsm("(/to-match-with)");  -        TSearcher searcher(fsm);  -        searcher.Search("/some/table/path/to-match-with");  -        UNIT_ASSERT(searcher.Captured());  +        TCapturingFsm fsm("(/to-match-with)"); +        TSearcher searcher(fsm); +        searcher.Search("/some/table/path/to-match-with"); +        UNIT_ASSERT(searcher.Captured());          UNIT_ASSERT_VALUES_EQUAL(searcher.GetCaptured(), TStringBuf("/to-match-with")); -    }  -  +    } +      Y_UNIT_TEST(Capture7) { -        TCapturingFsm fsm("(pref.*suff)");  -        TSearcher searcher(fsm);  -        searcher.Search("ala pref bla suff cla");  -        UNIT_ASSERT(searcher.Captured());  +        TCapturingFsm fsm("(pref.*suff)"); +        TSearcher searcher(fsm); +        searcher.Search("ala pref bla suff cla"); +        UNIT_ASSERT(searcher.Captured());          //UNIT_ASSERT_VALUES_EQUAL(searcher.GetCaptured(), TStringBuf("pref bla suff")); -    }  -  +    } +      Y_UNIT_TEST(CaptureXA) {          TCapturingFsm fsm(".*(xa).*"); | 
