stl: added a ticket for the todo test case TestStl::eraseDereference
This commit is contained in:
parent
50567c164f
commit
0dacb4b1ca
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue