summaryrefslogtreecommitdiff
path: root/jstests/core/geo7.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/geo7.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/geo7.js')
-rw-r--r--jstests/core/geo7.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/jstests/core/geo7.js b/jstests/core/geo7.js
index c220da54249..f353f75d789 100644
--- a/jstests/core/geo7.js
+++ b/jstests/core/geo7.js
@@ -2,18 +2,18 @@
t = db.geo7;
t.drop();
-t.insert({_id:1,y:[1,1]})
-t.insert({_id:2,y:[1,1],z:3})
-t.insert({_id:3,y:[1,1],z:4})
-t.insert({_id:4,y:[1,1],z:5})
+t.insert({_id:1,y:[1,1]});
+t.insert({_id:2,y:[1,1],z:3});
+t.insert({_id:3,y:[1,1],z:4});
+t.insert({_id:4,y:[1,1],z:5});
-t.ensureIndex({y:"2d",z:1})
+t.ensureIndex({y:"2d",z:1});
assert.eq( 1 , t.find({y:[1,1],z:3}).itcount() , "A1" );
-t.dropIndex({y:"2d",z:1})
+t.dropIndex({y:"2d",z:1});
-t.ensureIndex({y:"2d"})
+t.ensureIndex({y:"2d"});
assert.eq( 1 , t.find({y:[1,1],z:3}).itcount() , "A2" );
t.insert( { _id : 5 , y : 5 } );