summaryrefslogtreecommitdiff
path: root/jstests/ts1.js
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2013-02-28 18:19:47 -0500
committerScott Hernandez <scotthernandez@gmail.com>2013-02-28 18:19:47 -0500
commit6ea3fb90c6a90cad47501c4581c7206545f5e3f3 (patch)
tree69d4d43ec16894dd18855337028568abbfecbe9a /jstests/ts1.js
parente63cc1987e8e69e53158a02f393b5a8c8993f492 (diff)
downloadmongo-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.js2
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" )