summaryrefslogtreecommitdiff
path: root/jstests/core/update3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/update3.js')
-rw-r--r--jstests/core/update3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/update3.js b/jstests/core/update3.js
index 4974f8c022b..5a61b8bcfc9 100644
--- a/jstests/core/update3.js
+++ b/jstests/core/update3.js
@@ -30,4 +30,4 @@ assert.eq(0, f.findOne()._id, "D");
f.drop();
f.save({_id: 1, a: 1});
f.update({}, {$unset: {"a": 1, "b.c": 1}});
-assert.docEq(f.findOne(), {_id: 1}, "E"); \ No newline at end of file
+assert.docEq({_id: 1}, f.findOne(), "E"); \ No newline at end of file