summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2016-10-05 11:34:39 -0400
committerBenety Goh <benety@mongodb.com>2016-10-05 11:34:39 -0400
commite5dab1bdd183b6ee1a6e83ec53139a268f05f5c3 (patch)
treefa60459311f462ca337b7a820a0ae158d0d257e2
parent84794aba3c9eb3f7d96c6fec99e967dba7a62aaa (diff)
downloadmongo-e5dab1bdd183b6ee1a6e83ec53139a268f05f5c3.tar.gz
Revert "minor: fix lint"
This reverts commit 84794aba3c9eb3f7d96c6fec99e967dba7a62aaa.
-rw-r--r--jstests/noPassthrough/wt_malformed_creation_string.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/jstests/noPassthrough/wt_malformed_creation_string.js b/jstests/noPassthrough/wt_malformed_creation_string.js
index f64d45260b3..4067cca329f 100644
--- a/jstests/noPassthrough/wt_malformed_creation_string.js
+++ b/jstests/noPassthrough/wt_malformed_creation_string.js
@@ -48,14 +48,11 @@
// Index creation with malformed string should fail
for (var i = 0; i < malformedStrings.length; i++) {
- assert.commandFailedWithCode(
- testDB.coll.createIndex(
- {a: 1},
- {
- name: 'with_malformed_str',
- storageEngine: {[engine]: {configString: malformedStrings[i]}}
- }),
- ErrorCodes.FailedToParse);
+ assert.commandFailedWithCode(testDB.coll.createIndex({a: 1}, {
+ name: 'with_malformed_str',
+ storageEngine: {[engine]: {configString: malformedStrings[i]}}
+ }),
+ ErrorCodes.FailedToParse);
}
MongoRunner.stopMongod(conn);