summaryrefslogtreecommitdiff
path: root/jstests/find_and_modify4.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-07-02 12:00:30 -0400
committerMathias Stearn <mathias@10gen.com>2010-07-02 12:01:47 -0400
commitea3208f3ed5926c577e827ffe9b15db556f69782 (patch)
tree701baba9e425102520abc49121f39a2570483255 /jstests/find_and_modify4.js
parent01f0d605158fa9942ef0609ff44f2574684e103a (diff)
downloadmongo-ea3208f3ed5926c577e827ffe9b15db556f69782.tar.gz
debugging
Diffstat (limited to 'jstests/find_and_modify4.js')
-rw-r--r--jstests/find_and_modify4.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/find_and_modify4.js b/jstests/find_and_modify4.js
index ad1fb3696f0..98e107a74ee 100644
--- a/jstests/find_and_modify4.js
+++ b/jstests/find_and_modify4.js
@@ -49,6 +49,7 @@ var out = t.findAndModify({
upsert: true,
'new': true
});
+printjson(out);
assert.neq(out._id, undefined);
assert.eq(out.a, 1);
assert.eq(out.b, 2);