diff options
Diffstat (limited to 'jstests/core/update_invalid1.js')
-rw-r--r-- | jstests/core/update_invalid1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/update_invalid1.js b/jstests/core/update_invalid1.js index 46b68f7db63..3fd96d61f38 100644 --- a/jstests/core/update_invalid1.js +++ b/jstests/core/update_invalid1.js @@ -2,5 +2,5 @@ t = db.update_invalid1; t.drop(); -t.update( { _id : 5 } , { $set : { $inc : { x : 5 } } } , true ); -assert.eq( 0 , t.count() , "A1" ); +t.update({_id: 5}, {$set: {$inc: {x: 5}}}, true); +assert.eq(0, t.count(), "A1"); |