diff options
Diffstat (limited to 'jstests/core/geo_polygon1.js')
-rw-r--r-- | jstests/core/geo_polygon1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/geo_polygon1.js b/jstests/core/geo_polygon1.js index 487df91a167..d1dbf0c19dc 100644 --- a/jstests/core/geo_polygon1.js +++ b/jstests/core/geo_polygon1.js @@ -58,8 +58,8 @@ assert.commandWorked(t.ensureIndex({loc: "2d"})); assert.eq(1, t.find({loc: {$within: {$polygon: pacman}}}).count(), "Pacman single point"); -t.save({loc: [5, 3]}); // Add a point that's out right in the mouth opening -t.save({loc: [3, 7]}); // Add a point above the center of the head +t.save({loc: [5, 3]}); // Add a point that's out right in the mouth opening +t.save({loc: [3, 7]}); // Add a point above the center of the head t.save({loc: [3, -1]}); // Add a point below the center of the bottom assert.eq(1, t.find({loc: {$within: {$polygon: pacman}}}).count(), "Pacman double point"); |