Skip to content

Commit e38217c

Browse files
Update testbufferoverrun.cpp
1 parent b37c220 commit e38217c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/testbufferoverrun.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5857,7 +5857,9 @@ class TestBufferOverrun : public TestFixture {
58575857
" (void)y[1];\n"
58585858
" (void)y[2];\n"
58595859
"}\n");
5860-
TODO_ASSERT_EQUALS("error", "", errout_str());
5860+
ASSERT_EQUALS("[test.cpp:7:20] -> [test.cpp:9:12]: (error) The address of variable 's.a' is accessed at non-zero index. [objectIndex]\n"
5861+
"[test.cpp:7:20] -> [test.cpp:10:12]: (error) The address of variable 's.a' is accessed at non-zero index. [objectIndex]\n",
5862+
errout_str());
58615863
}
58625864

58635865
void checkPipeParameterSize() { // #3521

0 commit comments

Comments
 (0)