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

Unified Diff: pkg/serialization/test/serialization_test.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 months 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
« no previous file with comments | « pkg/oauth2/test/handle_access_token_response_test.dart ('k') | pkg/unittest/lib/compact_vm_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « pkg/oauth2/test/handle_access_token_response_test.dart ('k') | pkg/unittest/lib/compact_vm_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698