diff options
Diffstat (limited to 'jstests/core/drop_index.js')
-rw-r--r-- | jstests/core/drop_index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/drop_index.js b/jstests/core/drop_index.js index 83e03c5a8fd..60dbec0e3ea 100644 --- a/jstests/core/drop_index.js +++ b/jstests/core/drop_index.js @@ -32,7 +32,7 @@ function assertIndexes(expectedIndexNames, msg) { } } -assert.writeOK(t.insert({_id: 1, a: 2, b: 3, c: 1, d: 1, e: 1})); +assert.commandWorked(t.insert({_id: 1, a: 2, b: 3, c: 1, d: 1, e: 1})); assertIndexes([], 'inserting test document'); assert.commandWorked(t.createIndex({a: 1})); |