memory leaks: minor fix for testcase

This commit is contained in:
Daniel Marjamäki 2009-09-01 19:06:34 +02:00
parent d8f2ec934b
commit 59a4a36fe1
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ private:
void findleak()
{
ASSERT_EQUALS(1, dofindleak("alloc;"));
ASSERT_EQUALS(1, dofindleak("; use; alloc; }"));
ASSERT_EQUALS(1, dofindleak("; use; { alloc; }"));
ASSERT_EQUALS(2, dofindleak("alloc;\n return;"));
ASSERT_EQUALS(-1, dofindleak("alloc; return use;"));
ASSERT_EQUALS(2, dofindleak("alloc;\n callfunc;"));