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

Unified Diff: tests/lib/mirrors/type_variable_owner_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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_variable_owner_test.dart
diff --git a/tests/lib/mirrors/type_variable_owner_test.dart b/tests/lib/mirrors/type_variable_owner_test.dart
index a44bf9d904862ace5ed0849e02e84ed4e1de188c..b9edbe2620d88c4407b7a5d31697de211e96e586 100644
--- a/tests/lib/mirrors/type_variable_owner_test.dart
+++ b/tests/lib/mirrors/type_variable_owner_test.dart
@@ -12,6 +12,7 @@ import "dart:mirrors";
import "package:expect/expect.dart";
class A<T> {}
+
class B<R> extends A<R> {}
testTypeVariableOfClass() {
@@ -26,7 +27,7 @@ testTypeVariableOfClass() {
Expect.equals(aDecl, aOfInt.typeVariables[0].owner);
Expect.equals(aDecl, aOfR.typeVariables[0].owner);
Expect.equals(aDecl, aOfString.typeVariables[0].owner);
-
+
Expect.equals(bDecl, bDecl.typeVariables[0].owner);
Expect.equals(bDecl, bOfString.typeVariables[0].owner);
}
@@ -42,7 +43,7 @@ testTypeVariableOfTypedef() {
TypedefMirror predicateOfList =
(thisLibrary.declarations[#somePredicateOfList] as VariableMirror).type;
TypedefMirror predicateDecl = predicateOfList.originalDeclaration;
-
+
Expect.equals(predicateDecl, predicateOfDynamic.typeVariables[0].owner);
Expect.equals(predicateDecl, predicateOfList.typeVariables[0].owner);
Expect.equals(predicateDecl, predicateDecl.typeVariables[0].owner);

Powered by Google App Engine
This is Rietveld 408576698