diff options
Diffstat (limited to 'jstests/core/storefunc.js')
-rw-r--r-- | jstests/core/storefunc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/storefunc.js b/jstests/core/storefunc.js index 3b5fc1ab9ab..fae9e58bfa4 100644 --- a/jstests/core/storefunc.js +++ b/jstests/core/storefunc.js @@ -39,7 +39,7 @@ assert( s.getIndexKeys().length > 0 , "no indexes" ); assert( s.getIndexKeys()[0]._id , "no _id index" ); assert.eq( "undefined" , testdb.eval( function(){ return typeof(zzz); } ) , "C1" ); -s.save( { _id : "zzz" , value : 5 } ) +s.save( { _id : "zzz" , value : 5 } ); assert.eq( "number" , testdb.eval( function(){ return typeof(zzz); } ) , "C2" ); s.remove( { _id : "zzz" } ); assert.eq( "undefined" , testdb.eval( function(){ return typeof(zzz); } ) , "C3" ); |