mirror of
https://github.com/pantor/inja.git
synced 2026-04-30 19:19:30 +00:00
better code quality, fix travis error
This commit is contained in:
@@ -49,14 +49,6 @@ TEST_CASE("Search in string with multiple possible regexes") {
|
||||
CHECK( match.outer == "ipsum" );
|
||||
CHECK( match.inner == "s" );
|
||||
}
|
||||
|
||||
SECTION("Basic 3") {
|
||||
std::vector<std::string> regex_patterns = { "asdf", "qwer", "ip(\\w*)um", "ip(\\w*)um", "es(\\w*)as" };
|
||||
inja::SearchMatchVector match = inja::search(input, regex_patterns, 0);
|
||||
CHECK( match.regex_number == 2 );
|
||||
CHECK( match.outer == "ipsum" );
|
||||
CHECK( match.inner == "s" );
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("Search on level") {
|
||||
|
||||
Reference in New Issue
Block a user