Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1670)

Unified Diff: tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart b/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
index 0e6a7a38b32efed3dc46c02e796c9463af399d84..96ede85ca9224d4e9acc71a97b330012837dff93 100644
--- a/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart
@@ -174,51 +174,51 @@ main() {
var compiler1 = compilerFor(TEST1, uri);
asyncTest(() => compiler1.run(uri).then((_) {
- checkReturn(compiler1, 'test1', compiler1.commonMasks.uint31Type);
- checkReturn(compiler1, 'test2',
- compiler1.commonMasks.dynamicType.nonNullable());
- checkReturn(compiler1, 'test3', compiler1.commonMasks.uint31Type);
- checkReturn(compiler1, 'test4', compiler1.commonMasks.mapType);
- checkReturn(compiler1, 'test5',
- compiler1.commonMasks.dynamicType.nonNullable());
- checkReturn(compiler1, 'test6',
- compiler1.commonMasks.dynamicType.nonNullable());
- }));
+ checkReturn(compiler1, 'test1', compiler1.commonMasks.uint31Type);
+ checkReturn(compiler1, 'test2',
+ compiler1.commonMasks.dynamicType.nonNullable());
+ checkReturn(compiler1, 'test3', compiler1.commonMasks.uint31Type);
+ checkReturn(compiler1, 'test4', compiler1.commonMasks.mapType);
+ checkReturn(compiler1, 'test5',
+ compiler1.commonMasks.dynamicType.nonNullable());
+ checkReturn(compiler1, 'test6',
+ compiler1.commonMasks.dynamicType.nonNullable());
+ }));
var compiler2 = compilerFor(TEST2, uri);
asyncTest(() => compiler2.run(uri).then((_) {
- checkReturn(compiler2, 'test1',
- compiler2.commonMasks.mapType.nonNullable());
- checkReturn(compiler2, 'test2', compiler2.commonMasks.mapType);
- checkReturn(compiler2, 'test3', compiler2.commonMasks.mapType);
- checkReturn(compiler2, 'test4', compiler2.commonMasks.mapType);
- checkReturn(compiler2, 'test5', compiler2.commonMasks.mapType);
-
- checkReturn(compiler2, 'test6', compiler2.commonMasks.numType);
- checkReturn(compiler2, 'test7', compiler2.commonMasks.uint31Type);
- checkReturn(compiler2, 'test8', compiler2.commonMasks.uint31Type);
- checkReturn(compiler2, 'test9', compiler2.commonMasks.uint31Type);
- checkReturn(compiler2, 'test10', compiler2.commonMasks.numType);
- checkReturn(compiler2, 'test11', compiler2.commonMasks.doubleType);
- }));
+ checkReturn(
+ compiler2, 'test1', compiler2.commonMasks.mapType.nonNullable());
+ checkReturn(compiler2, 'test2', compiler2.commonMasks.mapType);
+ checkReturn(compiler2, 'test3', compiler2.commonMasks.mapType);
+ checkReturn(compiler2, 'test4', compiler2.commonMasks.mapType);
+ checkReturn(compiler2, 'test5', compiler2.commonMasks.mapType);
+
+ checkReturn(compiler2, 'test6', compiler2.commonMasks.numType);
+ checkReturn(compiler2, 'test7', compiler2.commonMasks.uint31Type);
+ checkReturn(compiler2, 'test8', compiler2.commonMasks.uint31Type);
+ checkReturn(compiler2, 'test9', compiler2.commonMasks.uint31Type);
+ checkReturn(compiler2, 'test10', compiler2.commonMasks.numType);
+ checkReturn(compiler2, 'test11', compiler2.commonMasks.doubleType);
+ }));
var compiler3 = compilerFor(TEST3, uri);
asyncTest(() => compiler3.run(uri).then((_) {
- checkReturn(compiler3, 'test1', const TypeMask.nonNullEmpty());
- checkReturn(compiler3, 'test2', compiler3.commonMasks.mapType);
- checkReturn(compiler3, 'test3', compiler3.commonMasks.mapType);
- checkReturn(compiler3, 'test4', compiler3.commonMasks.mapType);
- checkReturn(compiler3, 'test5', compiler3.commonMasks.mapType);
- checkReturn(compiler3, 'test6', compiler3.commonMasks.mapType);
- }));
+ checkReturn(compiler3, 'test1', const TypeMask.nonNullEmpty());
+ checkReturn(compiler3, 'test2', compiler3.commonMasks.mapType);
+ checkReturn(compiler3, 'test3', compiler3.commonMasks.mapType);
+ checkReturn(compiler3, 'test4', compiler3.commonMasks.mapType);
+ checkReturn(compiler3, 'test5', compiler3.commonMasks.mapType);
+ checkReturn(compiler3, 'test6', compiler3.commonMasks.mapType);
+ }));
var compiler4 = compilerFor(TEST4, uri);
asyncTest(() => compiler4.run(uri).then((_) {
- checkReturn(compiler4, 'test1', const TypeMask.nonNullEmpty());
- checkReturn(compiler4, 'test2', compiler4.commonMasks.mapType);
- checkReturn(compiler4, 'test3', compiler4.commonMasks.mapType);
- checkReturn(compiler4, 'test4', compiler4.commonMasks.mapType);
- checkReturn(compiler4, 'test5', compiler4.commonMasks.mapType);
- checkReturn(compiler4, 'test6', compiler4.commonMasks.mapType);
- }));
+ checkReturn(compiler4, 'test1', const TypeMask.nonNullEmpty());
+ checkReturn(compiler4, 'test2', compiler4.commonMasks.mapType);
+ checkReturn(compiler4, 'test3', compiler4.commonMasks.mapType);
+ checkReturn(compiler4, 'test4', compiler4.commonMasks.mapType);
+ checkReturn(compiler4, 'test5', compiler4.commonMasks.mapType);
+ checkReturn(compiler4, 'test6', compiler4.commonMasks.mapType);
+ }));
}

Powered by Google App Engine
This is Rietveld 408576698