summaryrefslogtreecommitdiff
path: root/src/mongo/db/hasher_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/hasher_test.cpp')
-rw-r--r--src/mongo/db/hasher_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/hasher_test.cpp b/src/mongo/db/hasher_test.cpp
index a11113d13a9..808370922ef 100644
--- a/src/mongo/db/hasher_test.cpp
+++ b/src/mongo/db/hasher_test.cpp
@@ -346,12 +346,12 @@ namespace {
BSONObj o = BSON( "check" << Date_t( 0x5566778811223344LL ) );
ASSERT_EQUALS( hashIt( o ), 4476222765095560467LL );
o = builder1.appendTimestamp( "check", 0x55667788LL * 1000LL, 0x11223344LL ).obj();
- ASSERT_EQUALS( hashIt( o ), 4476222765095560467LL );
+ ASSERT_EQUALS( hashIt( o ), 4873046866288452390LL );
o = BSON( "check" << Date_t( 0 ) );
ASSERT_EQUALS( hashIt( o ), -1178696894582842035LL );
o = builder2.appendTimestamp( "check", 0 ).obj();
- ASSERT_EQUALS( hashIt( o ), -1178696894582842035LL );
+ ASSERT_EQUALS( hashIt( o ), -7867208682377458672LL );
}
TEST( BSONElementHasher, HashRegEx ) {