diff options
Diffstat (limited to 'src/mongo/dbtests/jstests.cpp')
-rw-r--r-- | src/mongo/dbtests/jstests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/jstests.cpp b/src/mongo/dbtests/jstests.cpp index 67299420841..58a1e2daeea 100644 --- a/src/mongo/dbtests/jstests.cpp +++ b/src/mongo/dbtests/jstests.cpp @@ -525,7 +525,7 @@ namespace JSTests { b.appendTimestamp( "a" , 123456789 ); b.appendMinKey( "b" ); b.appendMaxKey( "c" ); - b.appendTimestamp( "d" , 1234000 , 9876 ); + b.append( "d" , OpTime(1234, 9876) ); { @@ -1648,7 +1648,7 @@ namespace JSTests { class Timestamp : public TestRoundTrip { virtual BSONObj bson() const { BSONObjBuilder b; - b.appendTimestamp( "a", 20000ULL, 5 ); + b.append( "a", OpTime(20, 5) ); return b.obj(); } virtual string json() const { |