From bc67b83dc1ffe02f6d07fa592b66314f873c2360 Mon Sep 17 00:00:00 2001 From: GChanathip Date: Fri, 22 Nov 2024 18:55:58 +0700 Subject: [PATCH] format --- .../lib/src/crossplatform/app_options.dart | 3 ++- .../test/crossplatform/app_options_test.dart | 20 +++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/packages/patrol_cli/lib/src/crossplatform/app_options.dart b/packages/patrol_cli/lib/src/crossplatform/app_options.dart index 324cae03f..b8f0e68e3 100644 --- a/packages/patrol_cli/lib/src/crossplatform/app_options.dart +++ b/packages/patrol_cli/lib/src/crossplatform/app_options.dart @@ -218,7 +218,8 @@ class IOSAppOptions { '-quiet', ...['-derivedDataPath', '../build/ios_integ'], r'OTHER_SWIFT_FLAGS=$(inherited) -D PATROL_ENABLED', - if (clearPermissions) r'GCC_PREPROCESSOR_DEFINITIONS=$(inherited) CLEAR_PERMISSIONS=1', + if (clearPermissions) + r'GCC_PREPROCESSOR_DEFINITIONS=$(inherited) CLEAR_PERMISSIONS=1', ]; return cmd; diff --git a/packages/patrol_cli/test/crossplatform/app_options_test.dart b/packages/patrol_cli/test/crossplatform/app_options_test.dart index d84f6cf18..377753ce3 100644 --- a/packages/patrol_cli/test/crossplatform/app_options_test.dart +++ b/packages/patrol_cli/test/crossplatform/app_options_test.dart @@ -27,7 +27,8 @@ void main() { testServerPort: 2, ); - final invocation = options.toGradleAssembleTestInvocation(isWindows: true); + final invocation = + options.toGradleAssembleTestInvocation(isWindows: true); expect( invocation, equals([ @@ -55,7 +56,8 @@ void main() { testServerPort: 2, ); - final invocation = options.toGradleAssembleTestInvocation(isWindows: false); + final invocation = + options.toGradleAssembleTestInvocation(isWindows: false); expect( invocation, equals([ @@ -91,7 +93,8 @@ void main() { testServerPort: 2, ); - final invocation = options.toGradleAssembleTestInvocation(isWindows: true); + final invocation = + options.toGradleAssembleTestInvocation(isWindows: true); expect( invocation, equals([ @@ -120,7 +123,8 @@ void main() { testServerPort: 2, ); - final invocation = options.toGradleAssembleTestInvocation(isWindows: false); + final invocation = + options.toGradleAssembleTestInvocation(isWindows: false); expect( invocation, equals([ @@ -139,7 +143,9 @@ void main() { group('IOSAppOptions', () { late IOSAppOptions options; - group('correctly encodes default xcodebuild invocation for simulator with dartDefineFromFile path', () { + group( + 'correctly encodes default xcodebuild invocation for simulator with dartDefineFromFile path', + () { const flutterOpts = FlutterAppOptions( command: flutterCommand, target: 'integration_test/app_test.dart', @@ -220,7 +226,9 @@ void main() { }); }); - group('correctly encodes default xcodebuild invocation for simulator without dartDefineFromFile path', () { + group( + 'correctly encodes default xcodebuild invocation for simulator without dartDefineFromFile path', + () { const flutterOpts = FlutterAppOptions( command: flutterCommand, target: 'integration_test/app_test.dart',