diff options
Diffstat (limited to 'jstests/noPassthrough/shell_cmd_assertions.js')
-rw-r--r-- | jstests/noPassthrough/shell_cmd_assertions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/shell_cmd_assertions.js b/jstests/noPassthrough/shell_cmd_assertions.js index 4bc800663f8..85d40386964 100644 --- a/jstests/noPassthrough/shell_cmd_assertions.js +++ b/jstests/noPassthrough/shell_cmd_assertions.js @@ -25,7 +25,7 @@ const sampleWriteConcernError = { function setup() { db.coll.drop(); - assert.writeOK(db.coll.insert({_id: 1})); + assert.commandWorked(db.coll.insert({_id: 1})); } // Raw command responses. |