fixed unit test of dangerous functions

This commit is contained in:
Ettl Martin 2010-08-14 11:31:36 +02:00
parent 7c18ece65d
commit 0d8b74e538
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ private:
" char *x;\n"
" scanf(\"%s\", x);\n"
"}\n");
ASSERT_EQUALS("[test.cpp:4]: (style) Found 'scanf'. You should use 'fgets' instead\n", errout.str());
ASSERT_EQUALS("", errout.str());
}
};