Skip to content
Browse files

a test that works MINOR

  • Loading branch information...
1 parent 7c7be67 commit daef3873b7e35719988d4ed1c70ab7ff3c7da4cf @erh erh committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 jstests/set2.js
View
5 jstests/set2.js
@@ -11,3 +11,8 @@ assert.eq( 17 , t.findOne().x );
assert.eq( true , t.findOne().y.x );
t.update( { _id : 1 } , { $set : { "y.x" : 17 } } );
assert.eq( 17 , t.findOne().y.x );
+
+t.update( { _id : 1 } , { $set : { a : 2 , b : 3 } } );
+assert.eq( 2 , t.findOne().a );
+assert.eq( 3 , t.findOne().b );
+

0 comments on commit daef387

Please sign in to comment.
Something went wrong with that request. Please try again.