Unit Testing: Added assert for todo testcase to catch changes.
This commit is contained in:
parent
b19113426f
commit
e417d3080a
|
@ -438,6 +438,7 @@ private:
|
||||||
" ints.erase(iter);\n"
|
" ints.erase(iter);\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
TODO_ASSERT_EQUALS("[test.cpp:6]: (error) Erasing invalid iterator\n", errout.str());
|
TODO_ASSERT_EQUALS("[test.cpp:6]: (error) Erasing invalid iterator\n", errout.str());
|
||||||
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue