Fixed TODO test case (replaced tabs with spaces in test code)

This commit is contained in:
Daniel Marjamäki 2012-06-06 13:37:56 +02:00
parent 7c1b0a7602
commit 74422e1258
1 changed files with 3 additions and 3 deletions

View File

@ -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() {