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

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

Issue 51883006: Revert "Substitute types in generic superclasses and interfaces." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/lib/mirrors/generic_type_mirror_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/generics_substitution_test.dart
diff --git a/tests/lib/mirrors/generics_substitution_test.dart b/tests/lib/mirrors/generics_substitution_test.dart
index 1d0e9247a817257a44f65380d2e4766efb288ee7..8b2f16fb6766e651393d3db710d0af469004d234 100644
--- a/tests/lib/mirrors/generics_substitution_test.dart
+++ b/tests/lib/mirrors/generics_substitution_test.dart
@@ -32,21 +32,21 @@ main() {
Symbol r(ClassMirror cm) => cm.variables[#r].type.simpleName;
Symbol s(ClassMirror cm) => cm.methods[#s].parameters[0].type.simpleName;
Symbol t(ClassMirror cm) => cm.methods[#t].returnType.simpleName;
-
- Expect.equals(#T, r(genericDecl.superclass)); /// 01: ok
+
+ Expect.equals(#T, r(genericDecl.superclass));
Expect.equals(#int, s(genericDecl.superclass));
Expect.equals(#T, t(genericDecl));
- Expect.equals(#String, r(genericOfString.superclass)); /// 01: ok
+ Expect.equals(#String, r(genericOfString.superclass));
Expect.equals(#int, s(genericOfString.superclass));
Expect.equals(#String, t(genericOfString));
- Expect.equals(#R, r(superGenericDecl)); /// 01: ok
+ Expect.equals(#R, r(superGenericDecl));
Expect.equals(#S, s(superGenericDecl));
- Expect.equals(#T, r(superOfTAndInt)); /// 01: ok
+ Expect.equals(#T, r(superOfTAndInt));
Expect.equals(#int, s(superOfTAndInt));
- Expect.equals(#String, r(superOfStringAndInt)); /// 01: ok
+ Expect.equals(#String, r(superOfStringAndInt));
Expect.equals(#int, s(superOfStringAndInt));
}
« no previous file with comments | « tests/lib/mirrors/generic_type_mirror_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698