diff --git a/test/testcondition.cpp b/test/testcondition.cpp index 67902a37d..ba1ab4be8 100644 --- a/test/testcondition.cpp +++ b/test/testcondition.cpp @@ -1526,7 +1526,7 @@ private: " A(x++ == 1);\n" " A(x++ == 2);\n" "}"); - ASSERT_EQUALS("[test.cpp:4]: (style) Condition x++==2 is always false\n", errout.str()); + ASSERT_EQUALS("[test.cpp:4]: (style) Condition 'x++==2' is always false\n", errout.str()); // Avoid FP when condition comes from macro check("void f() {\n"