Skip to content

Commit 56f8db3

Browse files
committed
Fix CI lint error: remove leading underscore from local test variable
1 parent cc465cb commit 56f8db3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mobile_app/test/map_screen_widget_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void main() {
3131
late P2PService p2pService;
3232
late RouteController routeController;
3333

34-
Future<Widget> _buildTestApp() async {
34+
Future<Widget> buildTestApp() async {
3535
FlutterSecureStorage.setMockInitialValues({});
3636
db = AppDatabase.memory();
3737
final authService = AuthService();
@@ -99,7 +99,7 @@ void main() {
9999
}
100100

101101
testWidgets('MapScreen constructs and renders without error', (WidgetTester tester) async {
102-
await tester.pumpWidget(await _buildTestApp());
102+
await tester.pumpWidget(await buildTestApp());
103103
await tester.pump(const Duration(milliseconds: 100));
104104

105105
expect(find.text('OpenRescue Map'), findsOneWidget);
@@ -117,7 +117,7 @@ void main() {
117117
});
118118

119119
testWidgets('MapScreen shows loading state initially', (WidgetTester tester) async {
120-
await tester.pumpWidget(await _buildTestApp());
120+
await tester.pumpWidget(await buildTestApp());
121121

122122
// Initially should show loading indicator
123123
expect(find.byType(Scaffold), findsOneWidget);

0 commit comments

Comments
 (0)