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

Unified Diff: pkg/oauth2/test/handle_access_token_response_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/credentials_test.dart ('k') | pkg/serialization/test/serialization_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/oauth2/test/handle_access_token_response_test.dart
diff --git a/pkg/oauth2/test/handle_access_token_response_test.dart b/pkg/oauth2/test/handle_access_token_response_test.dart
index 48465f2044a590319d5cab2e368e8b738e1ca05f..6bfb7da06b62e215016e9afe4a9b8386b892d680 100644
--- a/pkg/oauth2/test/handle_access_token_response_test.dart
+++ b/pkg/oauth2/test/handle_access_token_response_test.dart
@@ -16,7 +16,7 @@ import 'utils.dart';
final Uri tokenEndpoint = new Uri.fromString("https://example.com/token");
-final Date startTime = new Date.now();
+final DateTime startTime = new DateTime.now();
oauth2.Credentials handle(http.Response response) =>
handleAccessTokenResponse(response, tokenEndpoint, startTime, ["scope"]);
« no previous file with comments | « pkg/oauth2/test/credentials_test.dart ('k') | pkg/serialization/test/serialization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698