summaryrefslogtreecommitdiff
path: root/jstests/core/ref.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/ref.js')
-rw-r--r--jstests/core/ref.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/ref.js b/jstests/core/ref.js
index dd3370ad9b1..f519d796bad 100644
--- a/jstests/core/ref.js
+++ b/jstests/core/ref.js
@@ -21,7 +21,7 @@ assert( db.things.findOne().o.fetch().n == 2, "dbrefs broken" );
db.getSiblingDB("otherdb").dropDatabase();
var objid = new ObjectId();
db.getSiblingDB("otherdb").getCollection("othercoll").insert({_id:objid, field:"value"});
-var subdoc = db.getSiblingDB("otherdb").getCollection("othercoll").findOne({_id:objid})
+var subdoc = db.getSiblingDB("otherdb").getCollection("othercoll").findOne({_id:objid});
db.mycoll.drop();
db.mycoll.insert({_id:"asdf", asdf:new DBRef("othercoll", objid, "otherdb")});