File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -155,8 +155,7 @@ JSObject getCurrentLibrary() =>
155155 // We can't use interop for this, as the lowering would be emitted as
156156 // `dart.global.eval('this')`, which does not evaluate to the same value as
157157 // `eval('this')`.
158- _foreign_helper
159- .JS ('' , 'this' );
158+ _foreign_helper.JS ('' , 'this' );
160159
161160main () async {
162161 asyncStart ();
@@ -268,11 +267,10 @@ window.PackageJSClass = function PackageJSClass(x) {
268267
269268 addNestedFormatterGoldens ('Iterable' , iterable);
270269
271- var s =
272- new Set ()
273- ..add ("foo" )
274- ..add (42 )
275- ..add (true );
270+ var s = new Set ()
271+ ..add ("foo" )
272+ ..add (42 )
273+ ..add (true );
276274 addNestedFormatterGoldens ('Set' , s);
277275 });
278276
Original file line number Diff line number Diff line change @@ -83,9 +83,8 @@ void testRegisterExtensionWarningMessage() {
8383
8484 consoleWarnLog.clear ();
8585
86- var testHandler =
87- (String s, Map <String , String > m) async =>
88- ServiceExtensionResponse .result ('test result' );
86+ var testHandler = (String s, Map <String , String > m) async =>
87+ ServiceExtensionResponse .result ('test result' );
8988
9089 expect (consoleWarnLog.isEmpty, true );
9190
@@ -170,9 +169,8 @@ void testRegisterExtension() {
170169 dwdsVersion = '1.0.0-for-test' ;
171170 expect (registerEventLog.isEmpty, true );
172171
173- var testHandler =
174- (String s, Map <String , String > m) async =>
175- ServiceExtensionResponse .result ('test result' );
172+ var testHandler = (String s, Map <String , String > m) async =>
173+ ServiceExtensionResponse .result ('test result' );
176174 registerExtension ('ext.method0' , testHandler);
177175
178176 expect (registerEventLog.single, 'ext.method0' );
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ void main() {
3030 var expectParts = dart.getParts ('package:expect/expect.dart' );
3131 Expect .isTrue (expectParts.isEmpty);
3232
33- var testLibraries =
34- libraries.where ((l) => l.endsWith ('libraries_test.dart' )).toList ();
33+ var testLibraries = libraries
34+ .where ((l) => l.endsWith ('libraries_test.dart' ))
35+ .toList ();
3536 Expect .isTrue (testLibraries.length == 1 );
3637 var testParts = dart.getParts (testLibraries.first);
3738 Expect .isTrue (testParts.length == 1 );
You can’t perform that action at this time.
0 commit comments