summaryrefslogtreecommitdiff
path: root/jstests/core/geo10.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/geo10.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/geo10.js')
-rw-r--r--jstests/core/geo10.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/geo10.js b/jstests/core/geo10.js
index 25bfc7b8ce6..5c26fbb3609 100644
--- a/jstests/core/geo10.js
+++ b/jstests/core/geo10.js
@@ -1,13 +1,13 @@
// Test for SERVER-2746
-coll = db.geo10
+coll = db.geo10;
coll.drop();
assert.commandWorked( db.geo10.ensureIndex( { c : '2d', t : 1 }, { min : 0, max : Math.pow( 2, 40 ) } ));
-assert.eq( 2, db.geo10.getIndexes().length, "A3" )
+assert.eq( 2, db.geo10.getIndexes().length, "A3" );
assert.writeOK( db.geo10.insert( { c : [ 1, 1 ], t : 1 } ));
assert.writeOK( db.geo10.insert( { c : [ 3600, 3600 ], t : 1 } ));
assert.writeOK( db.geo10.insert( { c : [ 0.001, 0.001 ], t : 1 } ));
-printjson( db.geo10.find({ c : { $within : { $box : [[0.001, 0.001], [Math.pow(2, 40) - 0.001, Math.pow(2, 40) - 0.001]] } }, t : 1 }).toArray() )
+printjson( db.geo10.find({ c : { $within : { $box : [[0.001, 0.001], [Math.pow(2, 40) - 0.001, Math.pow(2, 40) - 0.001]] } }, t : 1 }).toArray() );