From a576aafacf560e560faa8c6a9ce435d5dee062ca Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Wed, 19 Oct 2022 16:43:08 +0100 Subject: [PATCH] Undo drive-by formatting --- tests/Frontend.test.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/Frontend.test.cpp b/tests/Frontend.test.cpp index fb411617..2012a9a8 100644 --- a/tests/Frontend.test.cpp +++ b/tests/Frontend.test.cpp @@ -642,11 +642,9 @@ TEST_CASE_FIXTURE(FrontendFixture, "report_syntax_error_in_required_file") CHECK_EQ("Modules/A", result.errors[0].moduleName); - bool b = std::any_of(begin(result.errors), end(result.errors), - [](auto&& e) -> bool - { - return get(e); - }); + bool b = std::any_of(begin(result.errors), end(result.errors), [](auto&& e) -> bool { + return get(e); + }); if (!b) { CHECK_MESSAGE(false, "Expected a syntax error!");