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

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

Issue 2990223002: Reformat untouched files. (Closed)
Patch Set: Created 3 years, 4 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/instantiated_classes_test.dart
diff --git a/tests/compiler/dart2js/instantiated_classes_test.dart b/tests/compiler/dart2js/instantiated_classes_test.dart
index f5113799ba481b211c19d99df3044b00ddb96901..f0b91586fa8df233f5caedbdccd3779c7ec40b3a 100644
--- a/tests/compiler/dart2js/instantiated_classes_test.dart
+++ b/tests/compiler/dart2js/instantiated_classes_test.dart
@@ -14,69 +14,42 @@ import 'type_test_helper.dart';
void main() {
asyncTest(() => Future.forEach([
() => test("class Class {}", ["Class"]),
- () => test(
- """abstract class A {}
- class Class extends A {}""",
- ["Class"]),
- () => test(
- """class A {}
- class Class extends A {}""",
- ["Class"]),
- () => test(
- """class A {}
+ () => test("""abstract class A {}
+ class Class extends A {}""", ["Class"]),
+ () => test("""class A {}
+ class Class extends A {}""", ["Class"]),
+ () => test("""class A {}
class B {}
- class Class extends A {}""",
- ["Class"]),
- () => test(
- """class A {}
- class Class implements A {}""",
- ["Class"]),
- () => test(
- """class A {}
- class Class extends Object with A {}""",
- ["Class"]),
- () => test(
- """class A {}
+ class Class extends A {}""", ["Class"]),
+ () => test("""class A {}
+ class Class implements A {}""", ["Class"]),
+ () => test("""class A {}
+ class Class extends Object with A {}""", ["Class"]),
+ () => test("""class A {}
class B {}
class Class extends Object with B implements A {}""",
["Class"]),
- () => test(
- """class A {}
- class Class {}""",
- ["Class", "A"],
+ () => test("""class A {}
+ class Class {}""", ["Class", "A"], ["Class", "A"]),
+ () => test("""class A {}
+ class Class extends A {}""", ["Class", "A"], ["Class", "A"]),
+ () => test("""class A {}
+ class Class implements A {}""", ["Class", "A"],
["Class", "A"]),
- () => test(
- """class A {}
- class Class extends A {}""",
- ["Class", "A"],
- ["Class", "A"]),
- () => test(
- """class A {}
- class Class implements A {}""",
- ["Class", "A"],
- ["Class", "A"]),
- () => test(
- """class A {}
+ () => test("""class A {}
class B extends A {}
- class Class extends B {}""",
- ["Class", "A"],
- ["Class", "A"]),
- () => test(
- """class A {}
+ class Class extends B {}""", ["Class", "A"], ["Class", "A"]),
+ () => test("""class A {}
class B {}
- class Class extends B with A {}""",
- ["Class", "A"],
+ class Class extends B with A {}""", ["Class", "A"],
["Class", "A"]),
// TODO(johnniwinther): Avoid registration of `Class` as instantiated.
- () => test(
- """class A {}
+ () => test("""class A {}
class Class implements A {
factory Class() = A;
- }""",
- ["Class", "A"],
- ["Class"]),
+ }""", ["Class", "A"], ["Class"]),
], (f) => f()));
}
« no previous file with comments | « tests/compiler/dart2js/error_token_test.dart ('k') | tests/compiler/dart2js/interop_anonymous_unreachable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698