Do bulk replace of stl types.
This commit is contained in:
parent
521486be62
commit
c25a56ee19
531 changed files with 2274 additions and 2181 deletions
|
@ -7,10 +7,10 @@
|
|||
|
||||
TEST_CASE(TestLexer_MatchPattern, "[compiler]")
|
||||
{
|
||||
std::string input = "[I'm inside the tag](I'm inside the brackets), followed by more text.";
|
||||
std::string pattern = "[@](@)";
|
||||
String input = "[I'm inside the tag](I'm inside the brackets), followed by more text.";
|
||||
String pattern = "[@](@)";
|
||||
|
||||
std::vector<std::string> hits;
|
||||
Vector<String> hits;
|
||||
const auto matched = Lexer::matchPattern(pattern, input, '@', hits);
|
||||
REQUIRE(matched);
|
||||
REQUIRE(hits.size() == 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue