stl: added a ticket for the todo test case TestStl::eraseDereference

This commit is contained in:
Daniel Marjamäki 2009-05-02 21:35:35 +02:00
parent 50567c164f
commit 0dacb4b1ca
1 changed files with 2 additions and 0 deletions

View File

@ -267,6 +267,8 @@ private:
" ints.erase(iter);\n" " ints.erase(iter);\n"
" std::cout << (*iter) << std::endl;\n" " std::cout << (*iter) << std::endl;\n"
"}\n"); "}\n");
// Ticket #277 - STL: Dereferencing an erased iterator
TODO_ASSERT_EQUALS("[test.cpp:6]: (error) Dereferencing invalid iterator\n", errout.str()); TODO_ASSERT_EQUALS("[test.cpp:6]: (error) Dereferencing invalid iterator\n", errout.str());
} }