From 260eb4acac4dba2c9a1c1c6e6bd106790e1a32a8 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Fri, 9 Apr 2021 08:46:47 +0200 Subject: [PATCH] Running astyle [ci skip] --- test/testclass.cpp | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test/testclass.cpp b/test/testclass.cpp index f570db09e..f7ce4b2e7 100644 --- a/test/testclass.cpp +++ b/test/testclass.cpp @@ -910,27 +910,27 @@ private: } void copyConstructor5() { - checkCopyConstructor("class Copyable {};\n" - "\n" - "class Foo : public Copyable, public UnknownType {\n" - "public:\n" - " Foo() : m_ptr(new int) {}\n" - " ~Foo() { delete m_ptr; }\n" - "private:\n" - " int* m_ptr;\n" - "};"); - ASSERT_EQUALS("", errout.str()); + checkCopyConstructor("class Copyable {};\n" + "\n" + "class Foo : public Copyable, public UnknownType {\n" + "public:\n" + " Foo() : m_ptr(new int) {}\n" + " ~Foo() { delete m_ptr; }\n" + "private:\n" + " int* m_ptr;\n" + "};"); + ASSERT_EQUALS("", errout.str()); - checkCopyConstructor("class Copyable {};\n" - "\n" - "class Foo : public UnknownType, public Copyable {\n" - "public:\n" - " Foo() : m_ptr(new int) {}\n" - " ~Foo() { delete m_ptr; }\n" - "private:\n" - " int* m_ptr;\n" - "};"); - ASSERT_EQUALS("", errout.str()); + checkCopyConstructor("class Copyable {};\n" + "\n" + "class Foo : public UnknownType, public Copyable {\n" + "public:\n" + " Foo() : m_ptr(new int) {}\n" + " ~Foo() { delete m_ptr; }\n" + "private:\n" + " int* m_ptr;\n" + "};"); + ASSERT_EQUALS("", errout.str()); } void noOperatorEq() {