Update test mesg

This commit is contained in:
Paul 2020-06-29 10:15:36 -05:00
parent d5b6d49d96
commit edcf668ae2
1 changed files with 1 additions and 1 deletions

View File

@ -3773,7 +3773,7 @@ private:
check("bool f(const std::string &s) {\n" check("bool f(const std::string &s) {\n"
" return s.size()>2U && s[0]=='4' && s[0]=='2';\n" " return s.size()>2U && s[0]=='4' && s[0]=='2';\n"
"}\n"); "}\n");
ASSERT_EQUALS("[test.cpp:2]: (style) Condition 'x' is always true\n", errout.str()); ASSERT_EQUALS("[test.cpp:2] -> [test.cpp:2]: (style) Condition 's[0]=='2'' is always false\n", errout.str());
} }
void pointerAdditionResultNotNull() { void pointerAdditionResultNotNull() {