diff --git a/test/testsimplifytypedef.cpp b/test/testsimplifytypedef.cpp index cbc7115e9..dfbf3d1cb 100644 --- a/test/testsimplifytypedef.cpp +++ b/test/testsimplifytypedef.cpp @@ -1138,7 +1138,7 @@ private: "}"; ASSERT_EQUALS(expected, tok(code, false)); - ASSERT_EQUALS("", errout.str()); + ASSERT_EQUALS("[test.cpp:28]: (debug) ValueFlow bailout: function return; nontrivial function body\n", errout.str()); } void simplifyTypedef36() { @@ -2160,7 +2160,7 @@ private: " return fred;\n" "}"; tok(code); - ASSERT_EQUALS("", errout.str()); + ASSERT_EQUALS("[test.cpp:2]: (debug) ValueFlow bailout: function return; nontrivial function body\n", errout.str()); } void simplifyTypedef101() { // ticket #3003 (segmentation fault)