mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
fix test
This commit is contained in:
parent
346a47331c
commit
4ada6f436d
@ -1,11 +1,12 @@
|
||||
|
||||
test = new SyncCCTest( "sync1" )
|
||||
|
||||
t = test.conn.getDB( "test" ).sync1
|
||||
db = test.conn.getDB( "test" )
|
||||
t = db.sync1
|
||||
t.save( { x : 1 } )
|
||||
assert.eq( 1 , t.find().itcount() , "A1" );
|
||||
t.save( { x : 2 } )
|
||||
assert.eq( 1 , t.find().itcount() , "A2" );
|
||||
assert.eq( 2 , t.find().itcount() , "A2" );
|
||||
|
||||
|
||||
test.stop();
|
||||
|
Loading…
Reference in New Issue
Block a user