From 6e2b86bb2306fb303d3322332e2f75fd5b94142a Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Wed, 4 May 2022 09:42:43 -0500 Subject: [PATCH] style: cascade --- test/game/components/backbox/backbox_test.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/game/components/backbox/backbox_test.dart b/test/game/components/backbox/backbox_test.dart index 6e15a7cc..341198f8 100644 --- a/test/game/components/backbox/backbox_test.dart +++ b/test/game/components/backbox/backbox_test.dart @@ -65,8 +65,9 @@ void main() { 'renders correctly', setUp: (game, tester) async { await game.images.loadAll(assets); - game.camera.zoom = 6; - game.camera.followVector2(Vector2(0, -130)); + game.camera + ..followVector2(Vector2(0, -130)) + ..zoom = 6; await game.ensureAdd(Backbox()); await tester.pump(); },