summaryrefslogtreecommitdiff
path: root/jstests/core/delx.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/delx.js')
-rw-r--r--jstests/core/delx.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/jstests/core/delx.js b/jstests/core/delx.js
index 06a48b2cd25..c4e3ca263d6 100644
--- a/jstests/core/delx.js
+++ b/jstests/core/delx.js
@@ -1,6 +1,6 @@
-a = db.getSisterDB("delxa" )
-b = db.getSisterDB("delxb" )
+a = db.getSisterDB("delxa" );
+b = db.getSisterDB("delxb" );
function setup( mydb ){
mydb.dropDatabase();
@@ -12,19 +12,19 @@ function setup( mydb ){
setup( a );
setup( b );
-assert.eq( 100 , a.foo.find().itcount() , "A1" )
-assert.eq( 100 , b.foo.find().itcount() , "A2" )
+assert.eq( 100 , a.foo.find().itcount() , "A1" );
+assert.eq( 100 , b.foo.find().itcount() , "A2" );
-x = a.foo.find().sort( { _id : 1 } ).batchSize( 60 )
-y = b.foo.find().sort( { _id : 1 } ).batchSize( 60 )
+x = a.foo.find().sort( { _id : 1 } ).batchSize( 60 );
+y = b.foo.find().sort( { _id : 1 } ).batchSize( 60 );
x.next();
y.next();
a.foo.remove( { _id : { $gt : 50 } } );
-assert.eq( 51 , a.foo.find().itcount() , "B1" )
-assert.eq( 100 , b.foo.find().itcount() , "B2" )
+assert.eq( 51 , a.foo.find().itcount() , "B1" );
+assert.eq( 100 , b.foo.find().itcount() , "B2" );
xCount = x.itcount();
assert( xCount == 59 || xCount == 99, "C1 : " + xCount ); // snapshot or not is ok