From 213f9c1fc899fe329a0a80481cf6f9b9f057565c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 21 Oct 2016 02:20:51 +0200 Subject: [PATCH] Fix testrunner --- test/testsimplifytypedef.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)