diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2013-02-28 18:19:47 -0500 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2013-02-28 18:19:47 -0500 |
commit | 6ea3fb90c6a90cad47501c4581c7206545f5e3f3 (patch) | |
tree | 69d4d43ec16894dd18855337028568abbfecbe9a /jstests/ts1.js | |
parent | e63cc1987e8e69e53158a02f393b5a8c8993f492 (diff) | |
download | mongo-6ea3fb90c6a90cad47501c4581c7206545f5e3f3.tar.gz |
SERVER-7718: JS Timestamp constructor now in seconds (not millis anymore)
Diffstat (limited to 'jstests/ts1.js')
-rw-r--r-- | jstests/ts1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/ts1.js b/jstests/ts1.js index 062519ceddd..30f7882e863 100644 --- a/jstests/ts1.js +++ b/jstests/ts1.js @@ -33,6 +33,6 @@ assert.eq( 0 , t.find( { x : { $type : 3 } } ).itcount() , "B2" ) t.insert( { _id : 100 , x : new Timestamp( 123456 , 50 ) } ) x = t.findOne( { _id : 100 } ).x -assert.eq( 123000 , x.t , "C1" ) +assert.eq( 123456 , x.t , "C1" ) assert.eq( 50 , x.i , "C2" ) |