diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index d4a21cd81..ca112e7b3 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -1862,7 +1862,7 @@ private: check("void foo()\n" "{\n" " int *p = new int[100];\n" - " foo();\n" + " ThrowException();\n" "}\n"); ASSERT_EQUALS("[test.cpp:5]: (error) Memory leak: p\n", errout.str()); }