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

Unified Diff: tests/lib_strong/mirrors/type_argument_is_type_variable_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/lib_strong/mirrors/type_argument_is_type_variable_test.dart
diff --git a/tests/lib_strong/mirrors/type_argument_is_type_variable_test.dart b/tests/lib_strong/mirrors/type_argument_is_type_variable_test.dart
index abada7f4976b3227e1098104fee97d23fd04f702..e9159443e7ba1d5730cdc9065a77d516b0452a88 100644
--- a/tests/lib_strong/mirrors/type_argument_is_type_variable_test.dart
+++ b/tests/lib_strong/mirrors/type_argument_is_type_variable_test.dart
@@ -11,7 +11,9 @@ import 'package:expect/expect.dart';
import 'generics_helper.dart';
class SuperSuper<SS> {}
+
class Super<S> extends SuperSuper<S> {}
+
class Generic<G> extends Super<G> {}
main() {
@@ -22,7 +24,8 @@ main() {
TypeVariableMirror gFromGeneric = generic.typeVariables.single;
TypeVariableMirror sFromSuper = superOfGeneric.typeVariables.single;
- TypeVariableMirror ssFromSuperSuper = superOfSuperOfGeneric.typeVariables.single;
+ TypeVariableMirror ssFromSuperSuper =
+ superOfSuperOfGeneric.typeVariables.single;
Expect.equals(#G, gFromGeneric.simpleName);
Expect.equals(#S, sFromSuper.simpleName);
@@ -36,7 +39,6 @@ main() {
typeArguments(superOfGeneric, [gFromGeneric]);
typeArguments(superOfSuperOfGeneric, [gFromGeneric]);
-
// Instantiations.
ClassMirror genericWithInt = reflect(new Generic<int>()).type;
ClassMirror superOfGenericWithInt = genericWithInt.superclass;

Powered by Google App Engine
This is Rietveld 408576698