summaryrefslogtreecommitdiff
path: root/jstests/core/capped_update.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/capped_update.js')
-rw-r--r--jstests/core/capped_update.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/capped_update.js b/jstests/core/capped_update.js
index ab93afed69f..293cada4f8e 100644
--- a/jstests/core/capped_update.js
+++ b/jstests/core/capped_update.js
@@ -24,7 +24,7 @@
assert.commandWorked(t.getDB().runCommand({godinsert:t.getName(), obj:{a:2}}));
var doc = t.findOne({a:2});
assert.eq(undefined, doc["_id"], "now has _id after godinsert");
- assert.writeOK(t.update({a:2}, {$inc:{a:1}}))
+ assert.writeOK(t.update({a:2}, {$inc:{a:1}}));
doc = t.findOne({a:3});
assert.eq(undefined, doc["_id"], "now has _id after update");
})();