From f361106770393e8758b8c4645e3742a38fbeef7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 7 Aug 2021 15:50:47 +0200 Subject: [PATCH] fix string literals in test code --- test/testclass.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/testclass.cpp b/test/testclass.cpp index 5208bf366..cb8625917 100644 --- a/test/testclass.cpp +++ b/test/testclass.cpp @@ -6883,21 +6883,21 @@ private: checkSelfInitialization("struct Foo : Bar {\n" " int i;\n" " Foo(int i)\n" - " : Bar(""), i(i) {}\n" + " : Bar(\"\"), i(i) {}\n" "};"); ASSERT_EQUALS("", errout.str()); checkSelfInitialization("struct Foo : std::Bar {\n" // #6073 " int i;\n" " Foo(int i)\n" - " : std::Bar(""), i(i) {}\n" + " : std::Bar(\"\"), i(i) {}\n" "};"); ASSERT_EQUALS("", errout.str()); checkSelfInitialization("struct Foo : std::Bar {\n" // #6073 " int i;\n" " Foo(int i)\n" - " : std::Bar(""), i{i} {}\n" + " : std::Bar(\"\"), i{i} {}\n" "};"); ASSERT_EQUALS("", errout.str()); }