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

Unified Diff: tests/compiler/dart2js/list_tracer_node_type_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
« no previous file with comments | « tests/compiler/dart2js/list_tracer_length_test.dart ('k') | tests/compiler/dart2js/list_tracer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/list_tracer_node_type_test.dart
diff --git a/tests/compiler/dart2js/list_tracer_node_type_test.dart b/tests/compiler/dart2js/list_tracer_node_type_test.dart
index 092f554d1f9a43990514a21e97c46a352be4b4e2..7c91c8c75900126929143540fe3310549f0323ef 100644
--- a/tests/compiler/dart2js/list_tracer_node_type_test.dart
+++ b/tests/compiler/dart2js/list_tracer_node_type_test.dart
@@ -66,31 +66,30 @@ main() {
""";
}
-
main() {
asyncTest(() => compileAll(TEST1).then((generated) {
- Expect.isTrue(generated.contains('if (typeof t1'));
- }));
+ Expect.isTrue(generated.contains('if (typeof t1'));
+ }));
asyncTest(() => compileAll(TEST2).then((generated) {
- Expect.isTrue(generated.contains('if (typeof t1'));
- }));
+ Expect.isTrue(generated.contains('if (typeof t1'));
+ }));
asyncTest(() => compileAll(TEST3).then((generated) {
- Expect.isTrue(generated.contains('if (typeof t1'));
- }));
+ Expect.isTrue(generated.contains('if (typeof t1'));
+ }));
asyncTest(() => compileAll(TEST4).then((generated) {
- Expect.isTrue(generated.contains('if (typeof t1'));
- }));
+ Expect.isTrue(generated.contains('if (typeof t1'));
+ }));
asyncTest(() => compileAll(TEST5).then((generated) {
- Expect.isFalse(generated.contains('iae'));
- }));
+ Expect.isFalse(generated.contains('iae'));
+ }));
asyncTest(() => compileAll(TEST6).then((generated) {
- Expect.isFalse(generated.contains('iae'));
- }));
+ Expect.isFalse(generated.contains('iae'));
+ }));
var memberInvocations = const <String>[
'first',
@@ -101,14 +100,14 @@ main() {
'removeAt(0)',
'removeLast()',
];
- memberInvocations.map((member) => generateTest('$member'))
+ memberInvocations
+ .map((member) => generateTest('$member'))
.forEach((String test) {
asyncTest(() => compileAll(test, expectedErrors: 0, expectedWarnings: 0)
- .then((generated) {
- Expect.isTrue(generated.contains('+ 42'));
- Expect.isFalse(generated.contains('if (typeof t1'));
- Expect.isFalse(generated.contains('if (t1 == null)'));
- }));
+ .then((generated) {
+ Expect.isTrue(generated.contains('+ 42'));
+ Expect.isFalse(generated.contains('if (typeof t1'));
+ Expect.isFalse(generated.contains('if (t1 == null)'));
+ }));
});
-
}
« no previous file with comments | « tests/compiler/dart2js/list_tracer_length_test.dart ('k') | tests/compiler/dart2js/list_tracer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698