Index: tests/compiler/dart2js_extra/mirror_test.dart |
diff --git a/tests/compiler/dart2js_extra/mirror_test.dart b/tests/compiler/dart2js_extra/mirror_test.dart |
index 2595bf4d25a8d4eda43c4ecdbfd560951cef38e0..0cc6b01b7207a2a43183c429d3f566152eb60034 100644 |
--- a/tests/compiler/dart2js_extra/mirror_test.dart |
+++ b/tests/compiler/dart2js_extra/mirror_test.dart |
@@ -7,7 +7,7 @@ import 'dart:mirrors'; |
import 'async_helper.dart'; |
void test(void onDone(bool success)) { |
- var now = new Date.now(); |
+ var now = new DateTime.now(); |
InstanceMirror mirror = reflect(now); |
print('now: ${now}'); |
print('mirror.type: ${mirror.type}'); |