Add another TODO test case for Token::Match

This commit is contained in:
Thomas Jarosch 2013-01-08 00:10:36 +01:00
parent 818362f496
commit 29c66dd9bc
1 changed files with 3 additions and 0 deletions

View File

@ -313,6 +313,9 @@ private:
givenACodeSampleToTokenize noType("delete", true);
ASSERT_EQUALS(false, Token::Match(noType.tokens(), "%type%"));
givenACodeSampleToTokenize noType2("void delete", true);
TODO_ASSERT_EQUALS(false, true, Token::Match(noType2.tokens(), "!!foo %type%"));
}
void matchChar() {