diff options
Diffstat (limited to 'jstests/core/kill_cursors.js')
-rw-r--r-- | jstests/core/kill_cursors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/kill_cursors.js b/jstests/core/kill_cursors.js index a65078028ed..b839a3bf8c8 100644 --- a/jstests/core/kill_cursors.js +++ b/jstests/core/kill_cursors.js @@ -20,7 +20,7 @@ var coll = db.jstest_killcursors; coll.drop(); for (var i = 0; i < 10; i++) { - assert.writeOK(coll.insert({_id: i})); + assert.commandWorked(coll.insert({_id: i})); } // killCursors command should fail if the collection name is not a string. |