Skip to content

Commit 8e9a9d7

Browse files
Update teststl.cpp
1 parent 60fb9b9 commit 8e9a9d7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎test/teststl.cpp‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,10 @@ class TestStl : public TestFixture {
760760
" v[i] = 42;\n"
761761
" return v;\n"
762762
"}\n");
763-
ASSERT_EQUALS("[test.cpp:4:10]: warning: Out of bounds access in 'v[i]', if 'v' size is 10 and 'i' is 10 [containerOutOfBounds]\n",
764-
errout_str());
763+
TODO_ASSERT_EQUALS(
764+
"[test.cpp:4:10]: error: Out of bounds access in 'v[i]', if 'v' size is 10 and 'i' is 10 [containerOutOfBounds]\n",
765+
"[test.cpp:4:10]: warning: Out of bounds access in 'v[i]', if 'v' size is 10 and 'i' is 10 [containerOutOfBounds]\n",
766+
errout_str());
765767

766768
check("void f() {\n"
767769
" int s = 2;\n"

0 commit comments

Comments
 (0)