summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/bulk_write.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/bulk_write.js b/jstests/core/bulk_write.js
index 3ed654f3cf4..6117d23413e 100644
--- a/jstests/core/bulk_write.js
+++ b/jstests/core/bulk_write.js
@@ -66,7 +66,6 @@ assert.commandFailedWithCode(db.adminCommand({bulkWrite: 1, nsInfo: [{ns: "mydb.
// Missing nsInfo
assert.commandFailedWithCode(
db.adminCommand({bulkWrite: 1, ops: [{insert: 0, document: {skey: "MongoDB"}}]}), [40414]);
-})();
// Test valid arguments with invalid values
assert.commandFailedWithCode(db.adminCommand({
@@ -94,3 +93,4 @@ assert.commandFailedWithCode(
db.adminCommand(
{bulkWrite: 1, ops: [{insert: 0, document: {skey: "MongoDB"}}], nsInfo: "test"}),
[ErrorCodes.TypeMismatch]);
+})();