removed TestOther::zeroDiv3 - it is not valid

This commit is contained in:
Daniel Marjamäki 2009-03-28 08:02:15 +01:00
parent 4059a2ad05
commit 022dbc651e
1 changed files with 0 additions and 13 deletions

View File

@ -37,7 +37,6 @@ private:
{
TEST_CASE(zeroDiv1);
TEST_CASE(zeroDiv2);
TEST_CASE(zeroDiv3);
TEST_CASE(delete1);
TEST_CASE(delete2);
@ -112,18 +111,6 @@ private:
ASSERT_EQUALS(std::string(""), errout.str());
}
void zeroDiv3()
{
check("int sum = 0;\n"
"void foo()\n"
"{\n"
" int n = 100;\n"
" cout<<b/sum;\n"
"}\n"
"}\n");
TODO_ASSERT_EQUALS(std::string("[test.cpp:5]: (style) Warning: Division with zero\n"), errout.str());
}
void delete1()