summaryrefslogtreecommitdiff
path: root/jstests/core/index_plugins.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-03-17 14:41:31 -0400
committerMike Grundy <michael.grundy@10gen.com>2016-03-18 17:10:31 -0400
commit1be713cebbb9411d2977ec9996931a4508252af0 (patch)
treea199db2a273ebb5ca4289158ee5f63066cb3926a /jstests/core/index_plugins.js
parentd82956a6fe2e7d5dd6216e66e95900d73dbf2e0c (diff)
downloadmongo-1be713cebbb9411d2977ec9996931a4508252af0.tar.gz
SERVER-23067 Final round of JS linting and formatting
Diffstat (limited to 'jstests/core/index_plugins.js')
-rw-r--r--jstests/core/index_plugins.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/core/index_plugins.js b/jstests/core/index_plugins.js
index f32e1e4345a..0ec565d1d50 100644
--- a/jstests/core/index_plugins.js
+++ b/jstests/core/index_plugins.js
@@ -46,7 +46,7 @@ coll.dropIndexes();
assert.commandWorked(coll.ensureIndex({a: "text", b: "text"}));
coll.dropIndexes();
-assert.commandFailed(coll.ensureIndex({a: "2d", b: "2d"})); // unsupported
+assert.commandFailed(coll.ensureIndex({a: "2d", b: "2d"})); // unsupported
assert.commandFailed(coll.ensureIndex({a: "geoHaystack", b: "geoHaystack"}, // unsupported
{bucketSize: 1}));
@@ -54,9 +54,9 @@ assert.commandFailed(coll.ensureIndex({a: "hashed", b: "hashed"})); // unsuppor
// Test compounding different special index types with each other.
-assert.commandFailed(coll.ensureIndex({a: "2d", b: "hashed"})); // unsupported
-assert.commandFailed(coll.ensureIndex({a: "hashed", b: "2dsphere"})); // unsupported
-assert.commandFailed(coll.ensureIndex({a: "2dsphere", b: "text"})); // unsupported
+assert.commandFailed(coll.ensureIndex({a: "2d", b: "hashed"})); // unsupported
+assert.commandFailed(coll.ensureIndex({a: "hashed", b: "2dsphere"})); // unsupported
+assert.commandFailed(coll.ensureIndex({a: "2dsphere", b: "text"})); // unsupported
assert.commandFailed(coll.ensureIndex({a: "text", b: "geoHaystack"})); // unsupported
-assert.commandFailed(coll.ensureIndex({a: "geoHaystack", b: "2d"}, // unsupported
+assert.commandFailed(coll.ensureIndex({a: "geoHaystack", b: "2d"}, // unsupported
{bucketSize: 1}));