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:
parent
5a9013d3cc
commit
d473198914
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user