TestTokenizer: Added TODO assertion

This commit is contained in:
Daniel Marjamäki 2012-09-08 09:01:02 +02:00
parent 2ce5cb3075
commit c31ce68520
1 changed files with 3 additions and 1 deletions

View File

@ -4573,7 +4573,9 @@ private:
void removeParentheses15() { void removeParentheses15() {
ASSERT_EQUALS("a = b ? c : 123 ;", tokenizeAndStringify("a = b ? c : (123);", false)); ASSERT_EQUALS("a = b ? c : 123 ;", tokenizeAndStringify("a = b ? c : (123);", false));
ASSERT_EQUALS("a = b ? c : 123 + 456 ;", tokenizeAndStringify("a = b ? c : ((123)+(456));", false)); TODO_ASSERT_EQUALS("a = b ? c : 579 ;",
"a = b ? c : 123 + 456 ;",
tokenizeAndStringify("a = b ? c : ((123)+(456));", false));
} }
void tokenize_double() { void tokenize_double() {