From 0021c434f42663174b55ac309e7ff8666162e75a Mon Sep 17 00:00:00 2001 From: chrchr-github Date: Sun, 25 Aug 2024 00:12:22 +0200 Subject: [PATCH] Format --- test/testcondition.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/testcondition.cpp b/test/testcondition.cpp index d46a016072f..48ce3a5b287 100644 --- a/test/testcondition.cpp +++ b/test/testcondition.cpp @@ -4990,19 +4990,19 @@ class TestCondition : public TestFixture { ASSERT_EQUALS("", errout_str()); check("struct S {\n" // #12727 - " bool f() const {\n" - " return g() > 0;\n" - " }\n" - " std::size_t g() const {\n" - " return 5 - h();\n" - " }\n" - " std::size_t h() const {\n" - " if (x > 7)\n" - " return 5;\n" - " return (5 + x) % 5;\n" - " }\n" - " std::size_t x;\n" - "};\n"); + " bool f() const {\n" + " return g() > 0;\n" + " }\n" + " std::size_t g() const {\n" + " return 5 - h();\n" + " }\n" + " std::size_t h() const {\n" + " if (x > 7)\n" + " return 5;\n" + " return (5 + x) % 5;\n" + " }\n" + " std::size_t x;\n" + "};\n"); ASSERT_EQUALS("", errout_str()); }