diff options
Diffstat (limited to 'jstests/core/geo_2d_with_geojson_point.js')
-rw-r--r-- | jstests/core/geo_2d_with_geojson_point.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/geo_2d_with_geojson_point.js b/jstests/core/geo_2d_with_geojson_point.js index 23592e004f8..5c30d6e30ab 100644 --- a/jstests/core/geo_2d_with_geojson_point.js +++ b/jstests/core/geo_2d_with_geojson_point.js @@ -9,5 +9,5 @@ t.ensureIndex({loc: '2d'}); var geoJSONPoint = {type: 'Point', coordinates: [0, 0]}; print(assert.throws(function() { - t.findOne({loc: {$near: {$geometry: geoJSONPoint}}}); -}, [], 'querying 2d index with GeoJSON point.')); + t.findOne({loc: {$near: {$geometry: geoJSONPoint}}}); + }, [], 'querying 2d index with GeoJSON point.')); |