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

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

Issue 95123002: Substitute type variables as type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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/generics_substitution_test.dart
diff --git a/tests/lib/mirrors/generics_substitution_test.dart b/tests/lib/mirrors/generics_substitution_test.dart
index 58a0269b2ee2ee290f0001cac951a6489040b26f..de13f2e4d40048107c0d699f809751632deed654 100644
--- a/tests/lib/mirrors/generics_substitution_test.dart
+++ b/tests/lib/mirrors/generics_substitution_test.dart
@@ -36,20 +36,20 @@ main() {
Symbol t(ClassMirror cm) =>
(cm.declarations[#t] as MethodMirror).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));
}
« sdk/lib/_internal/lib/js_mirrors.dart ('K') | « tests/lib/mirrors/equality_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698