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

Unified Diff: tests/lib/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/mirrors/type_argument_is_type_variable_test.dart
diff --git a/tests/lib/mirrors/type_argument_is_type_variable_test.dart b/tests/lib/mirrors/type_argument_is_type_variable_test.dart
index 9506c20052a386acfec838730a833c2596fb2af1..ba1890077c3225900063e2fe1e78bba2aa162871 100644
--- a/tests/lib/mirrors/type_argument_is_type_variable_test.dart
+++ b/tests/lib/mirrors/type_argument_is_type_variable_test.dart
@@ -12,7 +12,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() {
@@ -23,7 +25,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);
@@ -37,7 +40,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