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!");