0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/jstests/objid5.js
2009-12-21 20:40:04 -08:00

7 lines
108 B
JavaScript

t = db.objid5;
t.drop();
t.save( { _id : 5.5 } );
assert.eq( 18 , Object.bsonsize( t.findOne() ) , "A" );