diff --git a/test/testbufferoverrun.cpp b/test/testbufferoverrun.cpp index 3c887e9b5..680fce7f6 100644 --- a/test/testbufferoverrun.cpp +++ b/test/testbufferoverrun.cpp @@ -2947,9 +2947,9 @@ private: "{\n" " enum E { };\n" " E *e; e = new E[10];\n" - " s[10] = 0;\n" + " e[10] = 0;\n" "}"); - TODO_ASSERT_EQUALS("[test.cpp:5]: (error) Array 's[10]' accessed at index 10, which is out of bounds.\n", "", errout.str()); + ASSERT_EQUALS("[test.cpp:5]: (error) Array 'e[10]' accessed at index 10, which is out of bounds.\n", errout.str()); } // data is allocated with malloc