From 1be713cebbb9411d2977ec9996931a4508252af0 Mon Sep 17 00:00:00 2001 From: Mike Grundy Date: Thu, 17 Mar 2016 14:41:31 -0400 Subject: SERVER-23067 Final round of JS linting and formatting --- jstests/core/index_plugins.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'jstests/core/index_plugins.js') 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})); -- cgit v1.2.1