mirror of
https://github.com/pantor/inja.git
synced 2026-04-30 19:19:30 +00:00
add functions, new tests, code cleaning
This commit is contained in:
@@ -79,7 +79,7 @@ TEST_CASE("Search on level") {
|
||||
CHECK( match.close_match.end_position() == 28 );
|
||||
CHECK( match.position() == 8 );
|
||||
CHECK( match.end_position() == 28 );
|
||||
CHECK( match.outer == "(% up %)Test(% N1 %)" );
|
||||
CHECK( match.inner == "Test" );
|
||||
CHECK( match.outer() == "(% up %)Test(% N1 %)" );
|
||||
CHECK( match.inner() == "Test" );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user