run astyle

This commit is contained in:
Robert Reif 2011-04-04 22:25:56 -04:00
parent 23e4f020e9
commit d985fc008a
1 changed files with 2 additions and 2 deletions

View File

@ -2189,14 +2189,14 @@ private:
"{\n" "{\n"
" std::string *x = new std::string;\n" " std::string *x = new std::string;\n"
"}\n"); "}\n");
TODO_ASSERT_EQUALS("[test.cpp:3]: (error) Memory leak: x\n","", errout.str()); TODO_ASSERT_EQUALS("[test.cpp:3]: (error) Memory leak: x\n","", errout.str());
check("void f(void) \n" check("void f(void) \n"
"{\n" "{\n"
" std::string *x = new std::string;\n" " std::string *x = new std::string;\n"
" delete x;\n" " delete x;\n"
"}\n"); "}\n");
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
void allocfunc1() void allocfunc1()