diff --git a/test/testsimplifytokens.cpp b/test/testsimplifytokens.cpp index 2a5c65e62..0ee27918a 100644 --- a/test/testsimplifytokens.cpp +++ b/test/testsimplifytokens.cpp @@ -139,7 +139,7 @@ private: { const char code1[] = " void f() { int a; bool use = false; if( use ) a=0; else if( bb ) a=1; int c=1; } "; - const char code2[] = " void f() { int a; bool use = false; { if( bb ) a=1; int c=1; } } "; + const char code2[] = " void f() { int a; bool use = false; if( bb ) a=1; int c=1; } "; ASSERT_EQUALS(tok(code2), tok(code1)); }