mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Add support for Hamming distance approx matching
This commit is contained in:
@@ -213,7 +213,7 @@ TEST_P(MatchesTest, Check) {
|
||||
bool utf8 = (t.flags & HS_FLAG_UTF8) > 0;
|
||||
|
||||
set<pair<size_t, size_t>> matches;
|
||||
bool success = findMatches(*g, rm, t.input, matches, 0, t.notEod, utf8);
|
||||
bool success = findMatches(*g, rm, t.input, matches, 0, 0, t.notEod, utf8);
|
||||
ASSERT_TRUE(success);
|
||||
|
||||
set<pair<size_t, size_t>> expected(begin(t.matches), end(t.matches));
|
||||
|
Reference in New Issue
Block a user