From 0439f25bbd8dd3fc7673cf3cdb8e22021c684a7f Mon Sep 17 00:00:00 2001 From: PKEuS Date: Tue, 10 Sep 2013 12:57:28 +0200 Subject: [PATCH] Fixed wrong unittest introduced in b36a887608854c2644ef78cf2e98b7087fc12f75 --- test/testclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testclass.cpp b/test/testclass.cpp index 1ff06e990..a41bc73e3 100644 --- a/test/testclass.cpp +++ b/test/testclass.cpp @@ -5477,7 +5477,7 @@ private: checkInitializationListUsage("class Fred {\n" " std::string& s;\n" // Message is invalid for references, since their initialization in initializer list is required anyway and behaves different from assignment (#5004) - " Fred(const std::string& s) : s(s_) { s = \"foo\"; }\n" + " Fred(const std::string& s_) : s(s_) { s = \"foo\"; }\n" "};"); ASSERT_EQUALS("", errout.str());