Index: tests/language/runtime_type_function_test.dart |
diff --git a/tests/language/runtime_type_function_test.dart b/tests/language/runtime_type_function_test.dart |
index 8d7e9804a5398af72e6c8e721cbd21ded81c5825..84de6a3ba31aeb889f1aaa6a8369cd64848eb0e3 100644 |
--- a/tests/language/runtime_type_function_test.dart |
+++ b/tests/language/runtime_type_function_test.dart |
@@ -23,10 +23,10 @@ main() { |
// Types that do not use class names - these can be checked on dart2js in |
// minified mode. |
- check(fn('dynamic', '()'), main); // Top-level tear-off. |
- check(fn('void', '()'), Xyzzy.foo); // Class static member tear-off. |
+ check(fn('dynamic', '()'), main); // Top-level tear-off. |
+ check(fn('void', '()'), Xyzzy.foo); // Class static member tear-off. |
check(fn('void', '(dynamic)'), [].add); // Instance tear-off. |
sra1
2017/03/21 03:28:14
fix
|
- check(fn('dynamic', '()'), ()=>1); // closure. |
+ check(fn('dynamic', '()'), ()=>1); // closure. |
var s = new Xyzzy().runtimeType.toString(); |
if (s.length <= 3) return; // dart2js --minify has minified names. |