Skip to content

Commit b381ade

Browse files
committed
Fix analyzer failures + reformat
1 parent 59ef4cb commit b381ade

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/firebase_auth/example/test/firebase_auth.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ void main() {
8383
password: testPassword,
8484
);
8585
expect(result.user.uid, equals(user.uid));
86-
List<String> methods = await auth.fetchSignInMethodsForEmail(email: testEmail);
86+
final List<String> methods =
87+
await auth.fetchSignInMethodsForEmail(email: testEmail);
8788
expect(methods.length, 1);
8889
expect(methods[0], 'password');
8990
await user.delete();
@@ -102,8 +103,9 @@ void main() {
102103
});
103104

104105
test('fetchSignInMethodsForEmail nonexistent user', () async {
105-
String testEmail = 'testuser${Uuid().v4()}@example.com';
106-
List<String> methods = await auth.fetchSignInMethodsForEmail(email: testEmail);
106+
final String testEmail = 'testuser${Uuid().v4()}@example.com';
107+
final List<String> methods =
108+
await auth.fetchSignInMethodsForEmail(email: testEmail);
107109
expect(methods, isNotNull);
108110
expect(methods.length, 0);
109111
});

0 commit comments

Comments
 (0)