diff options
Diffstat (limited to 'jstests/core/min_max_bounds.js')
-rw-r--r-- | jstests/core/min_max_bounds.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/min_max_bounds.js b/jstests/core/min_max_bounds.js index c2171df23fb..8419e3c0eca 100644 --- a/jstests/core/min_max_bounds.js +++ b/jstests/core/min_max_bounds.js @@ -10,9 +10,9 @@ load('jstests/aggregation/extras/utils.js'); // For resultsEq. var coll = db.query_bound_inclusion; coll.drop(); -assert.writeOK(coll.insert({a: 1, b: 1})); -assert.writeOK(coll.insert({a: 2, b: 2})); -assert.writeOK(coll.insert({a: 3, b: 3})); +assert.commandWorked(coll.insert({a: 1, b: 1})); +assert.commandWorked(coll.insert({a: 2, b: 2})); +assert.commandWorked(coll.insert({a: 3, b: 3})); assert.commandWorked(coll.createIndex({a: 1})); |