Skip to content

Commit e464e34

Browse files
committed
format
1 parent e9888c2 commit e464e34

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

test/e2e/tests/storage_tests.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ void runStorageTests(
100100
);
101101
// The Storage emulator may report a different content type than what
102102
// was uploaded, so just check that a Content Type line is logged.
103-
final hasContentType = logs.any(
104-
(line) => line.contains('Content Type:'),
105-
);
103+
final hasContentType = logs.any((line) => line.contains('Content Type:'));
106104

107105
expect(hasName, isTrue, reason: 'Function should log the object name');
108106
expect(

test/snapshots/manifest_snapshot_test.dart

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,10 @@ void main() {
10751075
// =========================================================================
10761076

10771077
test('should have Storage onObjectFinalized trigger', () {
1078-
final dartFunc = _getEndpoint(dartManifest, 'onObjectFinalized_demotestfirebasestorageapp');
1078+
final dartFunc = _getEndpoint(
1079+
dartManifest,
1080+
'onObjectFinalized_demotestfirebasestorageapp',
1081+
);
10791082
final nodejsFunc = _getEndpoint(
10801083
nodejsManifest,
10811084
'onObjectFinalized_demotestfirebasestorageapp',
@@ -1084,8 +1087,14 @@ void main() {
10841087
expect(dartFunc, isNotNull);
10851088
expect(nodejsFunc, isNotNull);
10861089

1087-
expect(dartFunc!['entryPoint'], equals('onObjectFinalized_demotestfirebasestorageapp'));
1088-
expect(nodejsFunc!['entryPoint'], equals('onObjectFinalized_demotestfirebasestorageapp'));
1090+
expect(
1091+
dartFunc!['entryPoint'],
1092+
equals('onObjectFinalized_demotestfirebasestorageapp'),
1093+
);
1094+
expect(
1095+
nodejsFunc!['entryPoint'],
1096+
equals('onObjectFinalized_demotestfirebasestorageapp'),
1097+
);
10891098
expect(dartFunc['platform'], equals('gcfv2'));
10901099
expect(nodejsFunc['platform'], equals('gcfv2'));
10911100
expect(dartFunc['eventTrigger'], isNotNull);
@@ -1114,7 +1123,10 @@ void main() {
11141123
});
11151124

11161125
test('should have Storage onObjectArchived trigger', () {
1117-
final dartFunc = _getEndpoint(dartManifest, 'onObjectArchived_demotestfirebasestorageapp');
1126+
final dartFunc = _getEndpoint(
1127+
dartManifest,
1128+
'onObjectArchived_demotestfirebasestorageapp',
1129+
);
11181130
final nodejsFunc = _getEndpoint(
11191131
nodejsManifest,
11201132
'onObjectArchived_demotestfirebasestorageapp',
@@ -1143,7 +1155,10 @@ void main() {
11431155
});
11441156

11451157
test('should have Storage onObjectDeleted trigger', () {
1146-
final dartFunc = _getEndpoint(dartManifest, 'onObjectDeleted_demotestfirebasestorageapp');
1158+
final dartFunc = _getEndpoint(
1159+
dartManifest,
1160+
'onObjectDeleted_demotestfirebasestorageapp',
1161+
);
11471162
final nodejsFunc = _getEndpoint(
11481163
nodejsManifest,
11491164
'onObjectDeleted_demotestfirebasestorageapp',

0 commit comments

Comments
 (0)