Skip to content

Commit 34de8aa

Browse files
committed
Adjust test
1 parent 91161ab commit 34de8aa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/testnullpointer.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3937,9 +3937,8 @@ class TestNullPointer : public TestFixture {
39373937
" std::string s(p);\n"
39383938
" return s;\n"
39393939
"}\n", dinit(CheckOptions, $.inconclusive = true));
3940-
TODO_ASSERT_EQUALS("",
3941-
"[test.cpp:6:17]: (warning, inconclusive) Possible null pointer dereference: p [nullPointer]\n",
3942-
errout_str());
3940+
ASSERT_EQUALS("[test.cpp:6:17]: (warning, inconclusive) Possible null pointer dereference: p [nullPointer]\n",
3941+
errout_str());
39433942

39443943
check("void f() {\n" // #11078
39453944
" const char* p = nullptr;\n"

0 commit comments

Comments
 (0)