fix unit test failure

This commit is contained in:
Daniel Marjamäki 2011-10-29 12:21:22 +02:00
parent 8416768e03
commit b67cb077a3
1 changed files with 1 additions and 1 deletions

View File

@ -3430,7 +3430,7 @@ private:
"}");
ASSERT_EQUALS("[test.cpp:3]: (warning) Comparison of always identical static strings.\n", errout.str());
check_preprocess_suppress(
check(
"int foo(const char *buf)\n"
"{\n"
" if (strcmp(buf, buf) == 0)"