diff --git a/testsimplifytokens.cpp b/testsimplifytokens.cpp index 3e5d6c0b7..38a4078e5 100644 --- a/testsimplifytokens.cpp +++ b/testsimplifytokens.cpp @@ -125,6 +125,13 @@ private: const char code2[] = " void f() { int a; bool use = true; { a=0; }int c=1; } "; ASSERT_EQUALS( tok(code2), tok(code1) ); } +/* TODO: Uncomment and make this work + { + const char code1[] = " void f() { int a; bool use = true; if( bb ) a=0; else if( use ) a=1; else if( cc ) a=33; else { gg = 0; } int c=1; } "; + const char code2[] = " void f() { int a; bool use = true; if( bb ) {a=0;} else { a=1; } int c=1; } "; + ASSERT_EQUALS( tok(code2), tok(code1) ); + } +*/ } };