diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index bb62c1ef0..b09e4277e 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -3595,13 +3595,13 @@ private: void simplify_constants6() { // Ticket #5625 const char code[] = "template < class T > struct foo ;\n" "void bar ( ) {\n" - "foo < 1 ? 0 ? 1 : 6 : 2 > x ;\n" - "foo < 1 ? 0 : 2 > y ;\n" + "foo < 1 ? 0 ? 1 : 6 : 2 > x ;\n" + "foo < 1 ? 0 : 2 > y ;\n" "}"; const char exp [] = "template < class T > struct foo ;\n" "void bar ( ) {\n" - "foo < 6 > x ;\n" - "foo < 0 > y ;\n" + "foo < 6 > x ;\n" + "foo < 0 > y ;\n" "}"; ASSERT_EQUALS(exp, tokenizeAndStringify(code, true)); }