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

Unified Diff: tests/compiler/dart2js/is_test_with_type_parameters_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/is_inference_test.dart ('k') | tests/compiler/dart2js/issue13354_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/is_test_with_type_parameters_test.dart
diff --git a/tests/compiler/dart2js/is_test_with_type_parameters_test.dart b/tests/compiler/dart2js/is_test_with_type_parameters_test.dart
index 76847d8ceabb91ca0a01e61ba98901259906692a..aeb8c3d18e0864e378f924afb2b8416677968842 100644
--- a/tests/compiler/dart2js/is_test_with_type_parameters_test.dart
+++ b/tests/compiler/dart2js/is_test_with_type_parameters_test.dart
@@ -7,28 +7,21 @@ import "package:expect/expect.dart";
// Tests that is-tests are also available for superclasses if the class is
// never instantiated and not explicitly tested against.
-class A {
-}
+class A {}
-class B extends A {
-}
+class B extends A {}
-class C<T> implements A {
-}
+class C<T> implements A {}
-class D<T,L> {
-}
+class D<T, L> {}
-class F {
-}
+class F {}
-class E<T,L> extends D<L,T> {
-}
+class E<T, L> extends D<L, T> {}
-class G extends F {
-}
+class G extends F {}
-main () {
+main() {
var l = [new A(), new B(), new C<E<G, G>>()];
Expect.isTrue(l[0] is A);
Expect.isTrue(l[1] is B);
@@ -41,4 +34,3 @@ main () {
Expect.equals(e is C<D<F, G>>, i == 2);
}
}
-
« no previous file with comments | « tests/compiler/dart2js/is_inference_test.dart ('k') | tests/compiler/dart2js/issue13354_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698