diff options
Diffstat (limited to 'jstests/core/geoa.js')
-rw-r--r-- | jstests/core/geoa.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/core/geoa.js b/jstests/core/geoa.js index 3081f6c5c2e..036a5630550 100644 --- a/jstests/core/geoa.js +++ b/jstests/core/geoa.js @@ -1,10 +1,10 @@ -t = db.geoa +t = db.geoa; t.drop(); -t.save( { _id : 1 , a : { loc : [ 5 , 5 ] } } ) -t.save( { _id : 2 , a : { loc : [ 6 , 6 ] } } ) -t.save( { _id : 3 , a : { loc : [ 7 , 7 ] } } ) +t.save( { _id : 1 , a : { loc : [ 5 , 5 ] } } ); +t.save( { _id : 2 , a : { loc : [ 6 , 6 ] } } ); +t.save( { _id : 3 , a : { loc : [ 7 , 7 ] } } ); t.ensureIndex( { "a.loc" : "2d" } ); |