summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/utf8_paths.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/utf8_paths.js')
-rw-r--r--jstests/noPassthrough/utf8_paths.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/utf8_paths.js b/jstests/noPassthrough/utf8_paths.js
index b7b17355457..e7c0f56fa5d 100644
--- a/jstests/noPassthrough/utf8_paths.js
+++ b/jstests/noPassthrough/utf8_paths.js
@@ -25,7 +25,7 @@ let testMongoD = function() {
assert.neq(null, conn, 'mongod was unable to start up');
let coll = conn.getCollection(db_name + ".foo");
- assert.writeOK(coll.insert({_id: 1}));
+ assert.commandWorked(coll.insert({_id: 1}));
MongoRunner.stopMongod(conn);
};