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

Issue 1531083002: Fix the toJson/fromJson test. (Closed)

Created:
5 years ago by nweiz
Modified:
5 years ago
Reviewers:
kevmoo
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/oauth2.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix the toJson/fromJson test. DateTime has begun storing sub-millisecond times, which means that storing and retrieving the milliseconds since the epoch no longer produces an identical object. This rounds the test value to avoid this failure. R=kevmoo@google.com Committed: https://github.com/dart-lang/oauth2/commit/a4541ee9b1ac8eb1b8c0f111d402e8e71674fb65

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M test/credentials_test.dart View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
nweiz
5 years ago (2015-12-16 22:14:11 UTC) #1
kevmoo
lgtm
5 years ago (2015-12-16 22:36:44 UTC) #2
nweiz
5 years ago (2015-12-16 22:37:09 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
a4541ee9b1ac8eb1b8c0f111d402e8e71674fb65 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698