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

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

Issue 2770063002: Revert "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_strong/mirrors/type_variable_owner_test.dart
diff --git a/tests/lib_strong/mirrors/type_variable_owner_test.dart b/tests/lib_strong/mirrors/type_variable_owner_test.dart
index b9edbe2620d88c4407b7a5d31697de211e96e586..a44bf9d904862ace5ed0849e02e84ed4e1de188c 100644
--- a/tests/lib_strong/mirrors/type_variable_owner_test.dart
+++ b/tests/lib_strong/mirrors/type_variable_owner_test.dart
@@ -12,7 +12,6 @@ import "dart:mirrors";
import "package:expect/expect.dart";
class A<T> {}
-
class B<R> extends A<R> {}
testTypeVariableOfClass() {
@@ -27,7 +26,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);
}
@@ -43,7 +42,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);
« no previous file with comments | « tests/lib_strong/mirrors/syntax_error_test.dart ('k') | tests/lib_strong/mirrors/variable_is_const_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698