mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Undo drive-by formatting
This commit is contained in:
parent
adcd7b38fd
commit
a576aafacf
1 changed files with 3 additions and 5 deletions
|
@ -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!");
|
||||||
|
|
Loading…
Add table
Reference in a new issue