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

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

Issue 706793002: Remove/skip invalid mirror tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/typedef_test.dart
diff --git a/tests/lib/mirrors/typedef_test.dart b/tests/lib/mirrors/typedef_test.dart
index 11b9e713e4e3da59269fcf59a44c28c819ec82e4..19c7a70f77136eba10219a5d968b2910c9ff75d6 100644
--- a/tests/lib/mirrors/typedef_test.dart
+++ b/tests/lib/mirrors/typedef_test.dart
@@ -43,19 +43,13 @@ check(t) {
// Return "$args -> $ret".
ft(args, ret) {
- return '$args -> $ret'
- // TODO(ahe): dart2js doesn't fully qualify type names.
- .replaceAll('dart.core.', '') /// 01: ok
- ;
+ return '$args -> $ret';
}
void main() {
String x = 'x';
String y = 'y';
String z = 'z';
- x = 'argument0'; /// 01: ok
- y = 'argument1'; /// 01: ok
- z = 'argument2'; /// 01: ok
Expect.stringEquals(
"""

Powered by Google App Engine
This is Rietveld 408576698