testcondition: update testcase that was added since I did the changes.
This commit is contained in:
parent
8bfbb5d09c
commit
73eefa46fc
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue