diff options
author | Mathias Stearn <mathias@10gen.com> | 2013-07-25 12:14:10 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2013-07-25 12:14:10 -0400 |
commit | dfc0b15b259553f1bb528c1a65fec2bffec152cf (patch) | |
tree | c4020b31088e5f67b41cd3b576734118e2aea4f4 /src | |
parent | aff08928fef26148d401ab66f6e597378b212a26 (diff) | |
download | mongo-dfc0b15b259553f1bb528c1a65fec2bffec152cf.tar.gz |
Fix SERVER-10332 for Andy
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/util/time_support_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/time_support_test.cpp b/src/mongo/util/time_support_test.cpp index 9121240508b..c459c124645 100644 --- a/src/mongo/util/time_support_test.cpp +++ b/src/mongo/util/time_support_test.cpp @@ -48,7 +48,8 @@ namespace { TEST(TimeFormatting, TimeTAsISO8601Zulu) { ASSERT_EQUALS(std::string("1970-01-01T00:00:00Z"), timeToISOString(0)); ASSERT_EQUALS(std::string("1970-06-30T01:06:40Z"), timeToISOString(15556000)); - ASSERT_EQUALS(std::string("2058-02-20T18:29:11Z"), timeToISOString(2781455351)); + if (!isTimeTSmall) + ASSERT_EQUALS(std::string("2058-02-20T18:29:11Z"), timeToISOString(2781455351LL)); ASSERT_EQUALS(std::string("2013-02-20T18:29:11Z"), timeToISOString(1361384951)); } |