Changed TODO_ASSERT_EQUALS, we have a false negative

This commit is contained in:
Daniel Marjamäki 2020-05-21 09:12:19 +02:00
parent 8301fa8244
commit 81d8686f99
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ private:
" tok = tok->next();\n"
" }\n"
"}");
TODO_ASSERT_EQUALS("", "[test.cpp:5] -> [test.cpp:3]: (warning) Either the condition 'while' is redundant or there is possible null pointer dereference: tok.\n", errout.str());
TODO_ASSERT_EQUALS("[test.cpp:5] -> [test.cpp:3]: (warning) Either the condition 'while' is redundant or there is possible null pointer dereference: tok.\n", "", errout.str());
check("void foo(Token &tok)\n"
"{\n"