summaryrefslogtreecommitdiff
path: root/jstests/core/remove_justone.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/remove_justone.js')
-rw-r--r--jstests/core/remove_justone.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/jstests/core/remove_justone.js b/jstests/core/remove_justone.js
index 19bfd6d1a03..04813149dfd 100644
--- a/jstests/core/remove_justone.js
+++ b/jstests/core/remove_justone.js
@@ -2,15 +2,15 @@
t = db.remove_justone;
t.drop();
-t.insert( { x : 1 } );
-t.insert( { x : 1 } );
-t.insert( { x : 1 } );
-t.insert( { x : 1 } );
+t.insert({x: 1});
+t.insert({x: 1});
+t.insert({x: 1});
+t.insert({x: 1});
-assert.eq( 4 , t.count() );
+assert.eq(4, t.count());
-t.remove( { x : 1 } , true );
-assert.eq( 3 , t.count() );
+t.remove({x: 1}, true);
+assert.eq(3, t.count());
-t.remove( { x : 1 } );
-assert.eq( 0 , t.count() );
+t.remove({x: 1});
+assert.eq(0, t.count());