summaryrefslogtreecommitdiff
path: root/jstests/core/pull.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/pull.js')
-rw-r--r--jstests/core/pull.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/pull.js b/jstests/core/pull.js
index 3cb6328e2de..392d8bec227 100644
--- a/jstests/core/pull.js
+++ b/jstests/core/pull.js
@@ -20,7 +20,7 @@ assert.eq( [], t.findOne().a );
// SERVER-6047: $pull creates empty nested docs for dotted fields
// that don't exist.
-t.drop()
+t.drop();
t.save({ m : 1 } );
t.update( { m : 1 }, { $pull : { 'a.b' : [ 1 ] } } );
assert( ('a' in t.findOne()) == false );