From 8f1cb2304f7ef7489815e368c8f1575ee7da09f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 10 Jul 2021 08:45:04 +0200 Subject: [PATCH] missingReturn; Add missing ASSERT_EQUALS in test --- test/testfunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testfunctions.cpp b/test/testfunctions.cpp index 5422fd15b..46ab8a447 100644 --- a/test/testfunctions.cpp +++ b/test/testfunctions.cpp @@ -1435,6 +1435,7 @@ private: " else\n" " return {1, 2};\n" "}"); + ASSERT_EQUALS("", errout.str()); } // NRVO check void returnLocalStdMove1() {