aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp')
-rw-r--r--library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp b/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
index 9caa53f2e7..b12985579c 100644
--- a/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
+++ b/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
@@ -7,11 +7,11 @@
#include <array>
#include <algorithm>
-Y_UNIT_TEST_SUITE(HyperscanWrappers) {
+Y_UNIT_TEST_SUITE(HyperscanWrappers) {
using namespace NHyperscan;
using namespace NHyperscan::NPrivate;
- Y_UNIT_TEST(CompileAndScan) {
+ Y_UNIT_TEST(CompileAndScan) {
TDatabase db = Compile("a.c", HS_FLAG_DOTALL | HS_FLAG_SINGLEMATCH);
TScratch scratch = MakeScratch(db);
@@ -27,7 +27,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
UNIT_ASSERT_EQUAL(foundId, 0);
}
- Y_UNIT_TEST(Matches) {
+ Y_UNIT_TEST(Matches) {
NHyperscan::TDatabase db = NHyperscan::Compile(
"a.c",
HS_FLAG_DOTALL | HS_FLAG_SINGLEMATCH);
@@ -36,7 +36,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
UNIT_ASSERT(!NHyperscan::Matches(db, scratch, "foo"));
}
- Y_UNIT_TEST(Multi) {
+ Y_UNIT_TEST(Multi) {
NHyperscan::TDatabase db = NHyperscan::CompileMulti(
{
"foo",
@@ -72,7 +72,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
}
// https://ml.yandex-team.ru/thread/2370000002965712422/
- Y_UNIT_TEST(MultiRegression) {
+ Y_UNIT_TEST(MultiRegression) {
NHyperscan::CompileMulti(
{
"aa.bb/cc.dd",
@@ -85,7 +85,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
});
}
- Y_UNIT_TEST(Serialize) {
+ Y_UNIT_TEST(Serialize) {
NHyperscan::TDatabase db = NHyperscan::Compile(
"foo",
HS_FLAG_DOTALL | HS_FLAG_SINGLEMATCH);
@@ -98,7 +98,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
UNIT_ASSERT(!NHyperscan::Matches(db2, scratch, "FOO"));
}
- Y_UNIT_TEST(GrowScratch) {
+ Y_UNIT_TEST(GrowScratch) {
NHyperscan::TDatabase db1 = NHyperscan::Compile(
"foo",
HS_FLAG_DOTALL | HS_FLAG_SINGLEMATCH);
@@ -111,7 +111,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
UNIT_ASSERT(NHyperscan::Matches(db2, scratch, "longerWWWpattern"));
}
- Y_UNIT_TEST(CloneScratch) {
+ Y_UNIT_TEST(CloneScratch) {
NHyperscan::TDatabase db = NHyperscan::Compile(
"foo",
HS_FLAG_DOTALL | HS_FLAG_SINGLEMATCH);