Skip to content

Commit 14f24b6

Browse files
chore: apply lint comments
1 parent 699e85d commit 14f24b6

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

test/utils/screen_loading/screen_loading_trace_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ void main() {
5454
duration: 4000,
5555
);
5656

57-
expect(trace.toString(),
58-
'ScreenLoadingTrace{screenName: TestScreen, startTimeInMicroseconds: 1000, startMonotonicTimeInMicroseconds: 2000, endTimeInMicroseconds: 3000, duration: 4000}');
57+
expect(
58+
trace.toString(),
59+
'ScreenLoadingTrace{screenName: TestScreen, startTimeInMicroseconds: 1000, startMonotonicTimeInMicroseconds: 2000, endTimeInMicroseconds: 3000, duration: 4000}',
60+
);
5961
});
6062
}

test/utils/screen_loading/ui_trace_test.dart

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ void main() {
2727
test('UiTrace matches method returns correct result', () {
2828
final mockRouteMatcher = MockRouteMatcher();
2929
RouteMatcher.setInstance(mockRouteMatcher);
30-
when(mockRouteMatcher.match(
31-
routePath: 'test/path', actualPath: 'MatchingScreen'))
32-
.thenReturn(true);
30+
when(
31+
mockRouteMatcher.match(
32+
routePath: 'test/path',
33+
actualPath: 'MatchingScreen',
34+
),
35+
).thenReturn(true);
3336

3437
final trace = UiTrace(
3538
screenName: 'TestScreen',
@@ -47,7 +50,9 @@ void main() {
4750
matchingScreenName: 'MatchingScreen',
4851
);
4952

50-
expect(trace.toString(),
51-
'UiTrace{screenName: TestScreen, traceId: 123, isFirstScreenLoadingReported: false, isFirstScreenLoading: false}');
53+
expect(
54+
trace.toString(),
55+
'UiTrace{screenName: TestScreen, traceId: 123, isFirstScreenLoadingReported: false, isFirstScreenLoading: false}',
56+
);
5257
});
5358
}

0 commit comments

Comments
 (0)