From fb0d5168442acd819e6f4bf9110cf81f2d449f10 Mon Sep 17 00:00:00 2001 From: Marcin Stepnowski Date: Mon, 30 Dec 2024 00:08:26 +0100 Subject: [PATCH] Formatowanie w testach --- test/scan_bloc_test.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/scan_bloc_test.dart b/test/scan_bloc_test.dart index 22432c4..e2daf66 100644 --- a/test/scan_bloc_test.dart +++ b/test/scan_bloc_test.dart @@ -55,10 +55,10 @@ void main() { ], ); - blocTest( + blocTest( 'emits close remote button should remove button', build: () => _scanBloc(), - act: (bloc) { + act: (bloc) { bloc.add(ScanEvent.barcodeScanned("button1")); bloc.add(ScanEvent.closeRemoteButton()); }, @@ -76,10 +76,10 @@ void main() { ], ); - blocTest( + blocTest( 'emits close remote button should block appearing remote button', build: () => _scanBloc(), - act: (bloc) { + act: (bloc) { bloc.add(ScanEvent.barcodeScanned("button1")); bloc.add(ScanEvent.closeRemoteButton()); bloc.add(ScanEvent.barcodeScanned("button2")); @@ -95,7 +95,7 @@ void main() { isLoading: false, remoteButtonState: null, wasRemoteButtonClosed: true), - ScanState( + ScanState( list: [_testSearchResultWithButton("button1")], isLoading: true, remoteButtonState: null, @@ -103,8 +103,8 @@ void main() { ScanState( list: [ _testSearchResultWithButton("button1"), - _testSearchResultWithButton("button2") - ], + _testSearchResultWithButton("button2") + ], isLoading: false, remoteButtonState: null, wasRemoteButtonClosed: true),