summaryrefslogtreecommitdiff
path: root/jstests/core/geonear_cmd_input_validation.js
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:42:24 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-26 18:42:24 -0400
commitc1a45ebbb0530e3d0201321d725527f1eb83ffce (patch)
treef523079dc5ded3052eefbdcaae424b7502df5b25 /jstests/core/geonear_cmd_input_validation.js
parentc9599d8610c3da0b7c3da65667aff821063cf5b9 (diff)
downloadmongo-c1a45ebbb0530e3d0201321d725527f1eb83ffce.tar.gz
Apply formatting per `clang-format-7.0.1`
Diffstat (limited to 'jstests/core/geonear_cmd_input_validation.js')
-rw-r--r--jstests/core/geonear_cmd_input_validation.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/jstests/core/geonear_cmd_input_validation.js b/jstests/core/geonear_cmd_input_validation.js
index 9cc82cb6f25..611e29b01d1 100644
--- a/jstests/core/geonear_cmd_input_validation.js
+++ b/jstests/core/geonear_cmd_input_validation.js
@@ -69,7 +69,6 @@ indexTypes.forEach(function(indexType) {
// Try several bad values for min/maxDistance.
badNumbers.concat(outOfRangeDistances).forEach(function(badDistance) {
-
var msg = ("geoNear with spherical=" + spherical + " and " + pointDescription +
" and " + indexType + " index should've failed with " + optionName +
" " + badDistance);
@@ -80,7 +79,6 @@ indexTypes.forEach(function(indexType) {
// Bad values for limit / num.
['num', 'limit'].forEach(function(limitOptionName) {
[-1, 'foo'].forEach(function(badLimit) {
-
var msg =
("geoNear with spherical=" + spherical + " and " + pointDescription +
" and " + indexType + " index should've failed with '" +
@@ -94,7 +92,6 @@ indexTypes.forEach(function(indexType) {
// Bad values for distanceMultiplier.
badNumbers.forEach(function(badNumber) {
-
var msg = ("geoNear with spherical=" + spherical + " and " + pointDescription +
" and " + indexType +
" index should've failed with distanceMultiplier " + badNumber);