0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

re-enable old test

This commit is contained in:
Eliot Horowitz 2010-01-19 22:34:43 -05:00
parent 5a9013d3cc
commit d473198914

View File

@ -30,11 +30,10 @@ for ( var i=1; i<10; i++ ){
// --- test save support ---
// TODO: this is known to be broken
//o = db.data.findOne();
//o.x = 16;
//db.data.save( o );
//assert.eq( 16 , db.data.findOne( { _id : o._id } ).x , "x1 - did save fail?" );
o = db.data.findOne();
o.x = 16;
db.data.save( o );
assert.eq( 16 , db.data.findOne( { _id : o._id } ).x , "x1 - did save fail?" );
s.stop();