summaryrefslogtreecommitdiff
path: root/jstests/core/geo_update_btree.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:29:01 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-09 13:41:02 -0500
commit3bed8596d18275d1561e4f44f1f0bd72c1e038f1 (patch)
tree788eaed3c7a692a424f080d16a8841dc8afa3c13 /jstests/core/geo_update_btree.js
parent985e2a0be95709ac064c57f0a9bb385a55937285 (diff)
downloadmongo-3bed8596d18275d1561e4f44f1f0bd72c1e038f1.tar.gz
SERVER-22341 fix jslint errors in jstests/core with eslint --fix
Conflicts: jstests/core/count_hint.js
Diffstat (limited to 'jstests/core/geo_update_btree.js')
-rw-r--r--jstests/core/geo_update_btree.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/core/geo_update_btree.js b/jstests/core/geo_update_btree.js
index 3577a9ff7b6..12a10c736b8 100644
--- a/jstests/core/geo_update_btree.js
+++ b/jstests/core/geo_update_btree.js
@@ -1,11 +1,11 @@
// Tests whether the geospatial search is stable under btree updates
-var coll = db.getCollection( "jstests_geo_update_btree" )
-coll.drop()
+var coll = db.getCollection( "jstests_geo_update_btree" );
+coll.drop();
-coll.ensureIndex( { loc : '2d' } )
+coll.ensureIndex( { loc : '2d' } );
-var big = new Array( 3000 ).toString()
+var big = new Array( 3000 ).toString();
if (testingReplication) {
coll.setWriteConcern({ w: 2 });
@@ -23,7 +23,7 @@ var parallelInsert = startParallelShell(
for ( i = 0; i < 1000; i++ ) {
coll.update(
{ loc : { $within : { $center : [ [ Random.rand() * 180, Random.rand() * 180 ], Random.rand() * 50 ] } } },
- { $set : { v : big } }, false, true )
+ { $set : { v : big } }, false, true );
if( i % 10 == 0 ) print( i );
}