Adds checking for trailling commas on the project (#670)

* Testing a new linter option for trailling commas

* Checking trailling commas on linter
This commit is contained in:
Erick
2021-02-18 11:31:45 -03:00
committed by GitHub
parent e712d423dd
commit 19ff80a0eb
17 changed files with 254 additions and 186 deletions

View File

@ -87,8 +87,11 @@ void effectTest(
);
}
expect(effect.hasCompleted(), shouldComplete, reason: "Effect shouldFinish");
expect(callback.isCalled, shouldComplete,
reason: "Callback was treated wrong");
expect(
callback.isCalled,
shouldComplete,
reason: "Callback was treated wrong",
);
game.update(0.0); // Since effects are removed before they are updated
expect(component.effects.isEmpty, shouldComplete);
}