Skip to content

Commit

Permalink
findsimplematch
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Sep 11, 2023
1 parent 6d88bfe commit 58bebe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testsymboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5403,9 +5403,9 @@ class TestSymbolDatabase : public TestFixture {
" auto s2 = std::string(\"def\");\n"
"}\n");
ASSERT(db && errout.str().empty());
const Token* s1 = Token::findmatch(tokenizer.tokens(), "string {");
const Token* s1 = Token::findsimplematch(tokenizer.tokens(), "string {");
ASSERT(s1 && !s1->isIncompleteVar());
const Token* s2 = Token::findmatch(s1, "string (");
const Token* s2 = Token::findsimplematch(s1, "string (");
ASSERT(s2 && !s2->isIncompleteVar());
}

Expand Down

0 comments on commit 58bebe2

Please sign in to comment.