From b381adec5a3344bcae48b7a4cdc4f7cb4e35ce90 Mon Sep 17 00:00:00 2001 From: Collin Jackson Date: Mon, 26 Aug 2019 07:32:51 -0700 Subject: [PATCH] Fix analyzer failures + reformat --- packages/firebase_auth/example/test/firebase_auth.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/firebase_auth/example/test/firebase_auth.dart b/packages/firebase_auth/example/test/firebase_auth.dart index 1df4935efbaa..52545e1e72b7 100644 --- a/packages/firebase_auth/example/test/firebase_auth.dart +++ b/packages/firebase_auth/example/test/firebase_auth.dart @@ -83,7 +83,8 @@ void main() { password: testPassword, ); expect(result.user.uid, equals(user.uid)); - List methods = await auth.fetchSignInMethodsForEmail(email: testEmail); + final List methods = + await auth.fetchSignInMethodsForEmail(email: testEmail); expect(methods.length, 1); expect(methods[0], 'password'); await user.delete(); @@ -102,8 +103,9 @@ void main() { }); test('fetchSignInMethodsForEmail nonexistent user', () async { - String testEmail = 'testuser${Uuid().v4()}@example.com'; - List methods = await auth.fetchSignInMethodsForEmail(email: testEmail); + final String testEmail = 'testuser${Uuid().v4()}@example.com'; + final List methods = + await auth.fetchSignInMethodsForEmail(email: testEmail); expect(methods, isNotNull); expect(methods.length, 0); });