diff options
Diffstat (limited to 'jstests/core/update_arraymatch6.js')
-rw-r--r-- | jstests/core/update_arraymatch6.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/update_arraymatch6.js b/jstests/core/update_arraymatch6.js index 1fd6d32ab16..71e443fa44f 100644 --- a/jstests/core/update_arraymatch6.js +++ b/jstests/core/update_arraymatch6.js @@ -5,7 +5,7 @@ t.drop(); function doTest() { t.save( {a: [{id: 1, x: [5,6,7]}, {id: 2, x: [8,9,10]}]} ); res = t.update({'a.id': 1}, {$set: {'a.$.x': [1,1,1]}}); - assert.writeOK( res ) + assert.writeOK( res ); assert.eq.automsg( "1", "t.findOne().a[ 0 ].x[ 0 ]" ); } |