diff --git a/packages/auth/amplify_auth_cognito/example/integration_test/sign_out_test.dart b/packages/auth/amplify_auth_cognito/example/integration_test/sign_out_test.dart index 7913a5dd54..55ba9514fb 100644 --- a/packages/auth/amplify_auth_cognito/example/integration_test/sign_out_test.dart +++ b/packages/auth/amplify_auth_cognito/example/integration_test/sign_out_test.dart @@ -144,7 +144,7 @@ void main() { because: 'Sign out should succeed even if user is deleted', cognitoPlugin.signOut(), ).completes( - it() + (it) => it ..has((res) => res.signedOutLocally, 'signedOutLocally').isTrue(), ); }); @@ -178,8 +178,9 @@ void main() { 'credentials are expired', cognitoPlugin.signOut(), ).completes( - it() - ..has((res) => res.signedOutLocally, 'signedOutLocally').isTrue(), + (it) => it + .has((res) => res.signedOutLocally, 'signedOutLocally') + .isTrue(), ); }); }); diff --git a/packages/auth/amplify_auth_cognito/example/pubspec.yaml b/packages/auth/amplify_auth_cognito/example/pubspec.yaml index ddc36409fe..8569c4825d 100644 --- a/packages/auth/amplify_auth_cognito/example/pubspec.yaml +++ b/packages/auth/amplify_auth_cognito/example/pubspec.yaml @@ -28,7 +28,7 @@ dev_dependencies: path: ../../../amplify_lints async: ^2.10.0 aws_signature_v4: any - checks: ^0.2.0 + checks: ^0.3.0 collection: any flutter_driver: sdk: flutter diff --git a/packages/auth/amplify_auth_cognito_dart/example/pubspec.yaml b/packages/auth/amplify_auth_cognito_dart/example/pubspec.yaml index f282e67ead..00b05f225b 100644 --- a/packages/auth/amplify_auth_cognito_dart/example/pubspec.yaml +++ b/packages/auth/amplify_auth_cognito_dart/example/pubspec.yaml @@ -25,7 +25,7 @@ dev_dependencies: browser_launcher: ^1.1.1 build_runner: ^2.4.0 build_web_compilers: ^4.0.0 - checks: ^0.2.0 + checks: ^0.3.0 cli_script: ^0.3.0 io: ^1.0.0 mime: ^1.0.0