summaryrefslogtreecommitdiff
path: root/jstests/sharding/idhack_sharded.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/idhack_sharded.js')
-rw-r--r--jstests/sharding/idhack_sharded.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/idhack_sharded.js b/jstests/sharding/idhack_sharded.js
index 8c45f5d0f00..a5a8ae5df5c 100644
--- a/jstests/sharding/idhack_sharded.js
+++ b/jstests/sharding/idhack_sharded.js
@@ -10,8 +10,8 @@ assert.commandWorked(coll.getDB().adminCommand({enableSharding: coll.getDB().get
coll.getDB().adminCommand({movePrimary: coll.getDB().getName(), to: "shard0000"});
assert.commandWorked(coll.getDB().adminCommand({shardCollection: coll.getFullName(), key: {x: 1}}));
assert.commandWorked(coll.getDB().adminCommand({split: coll.getFullName(), middle: {x: 0}}));
-assert.commandWorked(coll.getDB().adminCommand({moveChunk: coll.getFullName(), find: {x: 0},
- to: "shard0001"}));
+assert.commandWorked(
+ coll.getDB().adminCommand({moveChunk: coll.getFullName(), find: {x: 0}, to: "shard0001"}));
//
// Test that idhack queries with projections that remove the shard key return correct results.