Skip to content

Commit 3fc280c

Browse files
Update teststl.cpp
1 parent 662c6ce commit 3fc280c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/teststl.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2455,7 +2455,7 @@ class TestStl : public TestFixture {
24552455
" if (it == v.end()) {}\n"
24562456
" v.erase(it);\n"
24572457
"}\n");
2458-
ASSERT_EQUALS("[test.cpp:3:7]: (warning) Either the condition 'it==v.end()' is redundant or function 'erase()' is called on the iterator 'it' which is out of bounds. [eraseIteratorOutOfBoundsCond]\n",
2458+
ASSERT_EQUALS("[test.cpp:2:12] -> [test.cpp:3:7]: (warning) Either the condition 'it==v.end()' is redundant or function 'erase()' is called on the iterator 'it' which is out of bounds. [eraseIteratorOutOfBoundsCond]\n",
24592459
errout_str());
24602460

24612461
check("void f() {\n"

0 commit comments

Comments
 (0)