Index: pkg/serialization/test/serialization_test.dart |
diff --git a/pkg/serialization/test/serialization_test.dart b/pkg/serialization/test/serialization_test.dart |
index c7879eb8b2a2be0474bf9291ee7d3d4bbb3e40ea..73e2e13340bb5731ada01110587c69f76593e213 100644 |
--- a/pkg/serialization/test/serialization_test.dart |
+++ b/pkg/serialization/test/serialization_test.dart |
@@ -129,7 +129,7 @@ main() { |
}); |
test('date', () { |
- var date = new Date.now(); |
+ var date = new DateTime.now(); |
var s = new Serialization() |
..addRuleFor(date, |
constructorFields : ["year", "month", "day", "hour", "minute", |