From 9220c8175d860d531d5d534954675d562f3236f0 Mon Sep 17 00:00:00 2001 From: Paul Fultz II Date: Sun, 16 Jan 2022 05:32:46 -0600 Subject: [PATCH] Remove todo assert (#3714) --- test/testnullpointer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() {