summaryrefslogtreecommitdiff
path: root/jstests/core/set_type_change.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/set_type_change.js')
-rw-r--r--jstests/core/set_type_change.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/set_type_change.js b/jstests/core/set_type_change.js
index 5b06449dce4..12035cc39a9 100644
--- a/jstests/core/set_type_change.js
+++ b/jstests/core/set_type_change.js
@@ -14,7 +14,7 @@ var coll = db.set_type_change;
coll.drop();
assert.commandWorked(coll.ensureIndex({a: 1}));
-assert.writeOK(coll.insert({a: 2}));
+assert.commandWorked(coll.insert({a: 2}));
var newVal = new NumberLong(2);
var res = coll.update({}, {$set: {a: newVal}});