Skip to content

Commit 301eb0a

Browse files
committed
format from stable dart
1 parent c7a72b0 commit 301eb0a

1 file changed

Lines changed: 20 additions & 13 deletions

File tree

pkgs/unified_analytics/test/unified_analytics_test.dart

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,9 +1294,11 @@ ${initialTool.label}=$dateStamp,$toolsMessageVersion
12941294
1,
12951295
reason: 'There should only be one session after the initial send event',
12961296
);
1297-
expect(firstQuery.flutterChannelCount, {
1298-
'flutterChannel': 1,
1299-
}, reason: 'There should only be one flutter channel logged');
1297+
expect(
1298+
firstQuery.flutterChannelCount,
1299+
{'flutterChannel': 1},
1300+
reason: 'There should only be one flutter channel logged',
1301+
);
13001302
expect(firstQuery.toolCount, {
13011303
'flutter-tool': 1,
13021304
}, reason: 'There should only be one tool logged');
@@ -1353,10 +1355,11 @@ ${initialTool.label}=$dateStamp,$toolsMessageVersion
13531355
// Query the log file stats to verify that there are two tools
13541356
final query = analytics.logFileStats()!;
13551357

1356-
expect(query.toolCount, {
1357-
'flutter-tool': 1,
1358-
'dart-tool': 1,
1359-
}, reason: 'There should have been two tools in the persisted logs');
1358+
expect(
1359+
query.toolCount,
1360+
{'flutter-tool': 1, 'dart-tool': 1},
1361+
reason: 'There should have been two tools in the persisted logs',
1362+
);
13601363
});
13611364

13621365
test('Check that log data missing some keys results in null for stats', () {
@@ -1477,9 +1480,11 @@ ${initialTool.label}=$dateStamp,$toolsMessageVersion
14771480
// Query the log file stats to verify that there are two tools
14781481
final query = analytics.logFileStats()!;
14791482

1480-
expect(query.toolCount, {
1481-
'dart-tool': 1,
1482-
}, reason: 'There should have only been on tool that sent events');
1483+
expect(
1484+
query.toolCount,
1485+
{'dart-tool': 1},
1486+
reason: 'There should have only been on tool that sent events',
1487+
);
14831488
expect(
14841489
query.flutterChannelCount.isEmpty,
14851490
true,
@@ -1504,9 +1509,11 @@ ${initialTool.label}=$dateStamp,$toolsMessageVersion
15041509
query.sessionCount,
15051510
reason: 'The session should have remained the same',
15061511
);
1507-
expect(query2.flutterChannelCount, {
1508-
'flutterChannel': 1,
1509-
}, reason: 'The first instance has flutter information initialized');
1512+
expect(
1513+
query2.flutterChannelCount,
1514+
{'flutterChannel': 1},
1515+
reason: 'The first instance has flutter information initialized',
1516+
);
15101517
});
15111518

15121519
group('Testing against Google Analytics limitations:', () {

0 commit comments

Comments
 (0)