diff --git a/test/testnullpointer.cpp b/test/testnullpointer.cpp index 758d02c7b23..2c116825e21 100644 --- a/test/testnullpointer.cpp +++ b/test/testnullpointer.cpp @@ -2365,9 +2365,7 @@ class TestNullPointer : public TestFixture { " if (!flag1 && flag2)\n" " (*ptr)++;\n" "}\n"); - TODO_ASSERT_EQUALS("[test.cpp:4] -> [test.cpp:10]: (warning) Either the condition 'ptr!=nullptr' is redundant or there is possible null pointer dereference: ptr.\n", - "", - errout.str()); + ASSERT_EQUALS("[test.cpp:4] -> [test.cpp:10]: (warning) Either the condition 'ptr!=nullptr' is redundant or there is possible null pointer dereference: ptr.\n", errout.str()); } void nullpointer74() {