Skip to content

Commit 203db8c

Browse files
committed
fix formatting
1 parent e97d8ce commit 203db8c

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

Diff for: packages/firebase_ui_auth/test/views/email_link_sign_in_view_test.dart

+16-14
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:firebase_auth/firebase_auth.dart';
6+
import 'package:firebase_ui_auth/firebase_ui_auth.dart';
67
import 'package:firebase_ui_localizations/firebase_ui_localizations.dart';
78
import 'package:flutter/material.dart';
89
import 'package:flutter_test/flutter_test.dart';
9-
import 'package:firebase_ui_auth/firebase_ui_auth.dart';
1010

1111
import '../test_utils.dart';
1212

@@ -45,23 +45,25 @@ void main() {
4545
/// If EmailLinkSignInView is pushed from another view, there
4646
/// should be a button allowing a user to go back.
4747
testWidgets('show go back option if not root', (tester) async {
48-
await tester.pumpWidget(TestMaterialApp(
48+
await tester.pumpWidget(
49+
TestMaterialApp(
4950
child: Builder(
50-
builder: (context) => TextButton(
51-
child: const Text("Push"),
52-
onPressed: () => Navigator.push(
53-
context,
54-
MaterialPageRoute(
55-
builder: (context) => Scaffold(
56-
body: EmailLinkSignInView(
57-
provider: emailLinkProvider, auth: auth),
58-
),
59-
),
60-
),
51+
builder: (context) => TextButton(
52+
child: const Text("Push"),
53+
onPressed: () => Navigator.push(
54+
context,
55+
MaterialPageRoute(
56+
builder: (context) => Scaffold(
57+
body: EmailLinkSignInView(
58+
provider: emailLinkProvider, auth: auth),
6159
),
6260
),
6361
),
64-
);
62+
),
63+
),
64+
),
65+
);
66+
6567
await tester.tap(find.textContaining("Push"));
6668
await tester.pumpAndSettle();
6769
final button = find.text(labels.goBackButtonLabel);

0 commit comments

Comments
 (0)