summaryrefslogtreecommitdiff
path: root/jstests/updatea.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-12-28 15:37:18 -0500
committerEliot Horowitz <eliot@10gen.com>2009-12-28 15:37:18 -0500
commit0a71e870ced185119b233e941d99bf363cae92cb (patch)
tree993b92e848ab8fd6c74fbe4f6e4196f5200ee422 /jstests/updatea.js
parent6df2dd965ee1ba576522096e67c2e1f773a669e9 (diff)
downloadmongo-0a71e870ced185119b233e941d99bf363cae92cb.tar.gz
fix multiple $inc/$push on same embedded object SERVER-333
Diffstat (limited to 'jstests/updatea.js')
-rw-r--r--jstests/updatea.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/updatea.js b/jstests/updatea.js
index d6ac280c16b..d6495d2186f 100644
--- a/jstests/updatea.js
+++ b/jstests/updatea.js
@@ -28,7 +28,7 @@ t.save( orig );
t.update( {} , { $inc: { "comments.0.rate_up" : 1 } , $push: { "comments.0.rate_ups" : 99 } } )
orig.comments[0].rate_up++;
orig.comments[0].rate_ups.push( 99 )
-//assert.eq( orig , t.findOne() , "B1" )
+assert.eq( orig , t.findOne() , "B1" )