From 74422e1258c5baaee4fdb3b15b55799710f9b400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 6 Jun 2012 13:37:56 +0200 Subject: [PATCH] Fixed TODO test case (replaced tabs with spaces in test code) --- test/testleakautovar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/testleakautovar.cpp b/test/testleakautovar.cpp index a228c5da4..ce030ff75 100644 --- a/test/testleakautovar.cpp +++ b/test/testleakautovar.cpp @@ -332,11 +332,11 @@ private: check("void f(int x) {\n" " int *a = malloc(20);\n" " if (x)\n" - " free(a);\n" + " free(a);\n" " else\n" - " a = 0;\n" + " a = 0;\n" "}\n"); - TODO_ASSERT_EQUALS("[test.c:7]: (error) New memory leak: a","[test.c:7]: (information) free configuration is needed to establish if there is a leak or not\n", errout.str()); + ASSERT_EQUALS("[test.c:6]: (error) New memory leak: a\n", errout.str()); } void switch1() {