Fix erroneous call to check() method. That is issues was not find by cppcheck itself, so #6109 has been created

This commit is contained in:
Alexander Mai 2014-08-30 18:17:18 +02:00
parent eace67ee1c
commit a690f5856f
1 changed files with 1 additions and 1 deletions

View File

@ -1146,7 +1146,7 @@ private:
check("void f() { a(x<y|z,0); }", true, "test.c"); // filename is c => there are never templates
ASSERT_EQUALS("[test.c:1]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.\n", errout.str());
check("class A<B&,C>;", "test.C");
check("class A<B&,C>;", true, "test.cpp");
ASSERT_EQUALS("", errout.str());
check("void f() {\n"