From 29c66dd9bccdbd950ef2776d44000d3a56bb4108 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 8 Jan 2013 00:10:36 +0100 Subject: [PATCH] Add another TODO test case for Token::Match --- test/testtoken.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/testtoken.cpp b/test/testtoken.cpp index 86fc29e9d..0fbaaecb7 100644 --- a/test/testtoken.cpp +++ b/test/testtoken.cpp @@ -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() {