diff options
Diffstat (limited to 'jstests/core/geo_fiddly_box.js')
-rw-r--r-- | jstests/core/geo_fiddly_box.js | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/jstests/core/geo_fiddly_box.js b/jstests/core/geo_fiddly_box.js index b99a28c01f7..efb185e2dfd 100644 --- a/jstests/core/geo_fiddly_box.js +++ b/jstests/core/geo_fiddly_box.js @@ -42,15 +42,14 @@ for (var x = min; x <= max; x += step) { } } -assert.eq(numItems, - t.count({ - loc: { - $within: { - $box: [ - [min - epsilon / 3, min - epsilon / 3], - [max + epsilon / 3, max + epsilon / 3] - ] - } - } - }), - "Not all locations found!"); +assert.eq( + numItems, + t.count({ + loc: { + $within: { + $box: + [[min - epsilon / 3, min - epsilon / 3], [max + epsilon / 3, max + epsilon / 3]] + } + } + }), + "Not all locations found!"); |