Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

just a very simple test

  • Loading branch information...
commit 3fc2ac79b59c58a8912bf95a6a4c29f82390b9bd 1 parent 643cfc0
@erh erh authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 jstests/basic8.js
View
11 jstests/basic8.js
@@ -0,0 +1,11 @@
+
+t = db.basic8;
+t.drop();
+
+t.save( { a : 1 } );
+o = t.findOne();
+o.b = 2;
+t.save( o );
+
+assert.eq( 1 , t.find().count() , "A" );
+assert.eq( 2 , t.findOne().b , "B" );
Please sign in to comment.
Something went wrong with that request. Please try again.