From 0d8b74e538c0497ccb405ebf4ec5a42a72404067 Mon Sep 17 00:00:00 2001 From: Ettl Martin Date: Sat, 14 Aug 2010 11:31:36 +0200 Subject: [PATCH] fixed unit test of dangerous functions --- test/testdangerousfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testdangerousfunctions.cpp b/test/testdangerousfunctions.cpp index 22a0e662f..7f22eee63 100644 --- a/test/testdangerousfunctions.cpp +++ b/test/testdangerousfunctions.cpp @@ -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()); } };