summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorMatt Cotter <matt.cotter@mongodb.com>2016-10-04 16:19:35 -0400
committerBenety Goh <benety@mongodb.com>2016-10-05 13:03:28 -0400
commit096f2f148b527bc8f25ac6727011b8e0e64e98c2 (patch)
treed79be57d7ac806d36b1917a8e58ec162645e68a3 /jstests
parenta90b989b87efa32206401cc6bef0429db59f2b64 (diff)
downloadmongo-096f2f148b527bc8f25ac6727011b8e0e64e98c2.tar.gz
minor: fix lint
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/wt_malformed_creation_string.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/jstests/noPassthrough/wt_malformed_creation_string.js b/jstests/noPassthrough/wt_malformed_creation_string.js
index 4067cca329f..f64d45260b3 100644
--- a/jstests/noPassthrough/wt_malformed_creation_string.js
+++ b/jstests/noPassthrough/wt_malformed_creation_string.js
@@ -48,11 +48,14 @@
// 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);