Undo drive-by formatting

This commit is contained in:
JohnnyMorganz 2022-10-19 16:43:08 +01:00
parent adcd7b38fd
commit a576aafacf

View file

@ -642,11 +642,9 @@ TEST_CASE_FIXTURE(FrontendFixture, "report_syntax_error_in_required_file")
CHECK_EQ("Modules/A", result.errors[0].moduleName); CHECK_EQ("Modules/A", result.errors[0].moduleName);
bool b = std::any_of(begin(result.errors), end(result.errors), bool b = std::any_of(begin(result.errors), end(result.errors), [](auto&& e) -> bool {
[](auto&& e) -> bool return get<SyntaxError>(e);
{ });
return get<SyntaxError>(e);
});
if (!b) if (!b)
{ {
CHECK_MESSAGE(false, "Expected a syntax error!"); CHECK_MESSAGE(false, "Expected a syntax error!");