Skip to content

Commit

Permalink
Fix analyzer failures + reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
collinjackson committed Aug 26, 2019
1 parent 59ef4cb commit b381ade
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/firebase_auth/example/test/firebase_auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ void main() {
password: testPassword,
);
expect(result.user.uid, equals(user.uid));
List<String> methods = await auth.fetchSignInMethodsForEmail(email: testEmail);
final List<String> methods =
await auth.fetchSignInMethodsForEmail(email: testEmail);
expect(methods.length, 1);
expect(methods[0], 'password');
await user.delete();
Expand All @@ -102,8 +103,9 @@ void main() {
});

test('fetchSignInMethodsForEmail nonexistent user', () async {
String testEmail = 'testuser${Uuid().v4()}@example.com';
List<String> methods = await auth.fetchSignInMethodsForEmail(email: testEmail);
final String testEmail = 'testuser${Uuid().v4()}@example.com';
final List<String> methods =
await auth.fetchSignInMethodsForEmail(email: testEmail);
expect(methods, isNotNull);
expect(methods.length, 0);
});
Expand Down

0 comments on commit b381ade

Please sign in to comment.