diff --git a/test/testnullpointer.cpp b/test/testnullpointer.cpp index b16fdfc3a..cfd2028a6 100644 --- a/test/testnullpointer.cpp +++ b/test/testnullpointer.cpp @@ -2099,10 +2099,7 @@ private: " if (!y) {}\n" " }\n" "}\n"); - TODO_ASSERT_EQUALS( - "", - "[test.cpp:13] -> [test.cpp:9]: (warning) Either the condition '!y' is redundant or there is possible null pointer dereference: x->g().\n", - errout.str()); + ASSERT_EQUALS("", errout.str()); } void nullpointer65() {