diff options
Diffstat (limited to 'jstests/core/objid4.js')
-rw-r--r-- | jstests/core/objid4.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/objid4.js b/jstests/core/objid4.js index 23986b95c71..1ae55a558f2 100644 --- a/jstests/core/objid4.js +++ b/jstests/core/objid4.js @@ -6,11 +6,11 @@ assert( o.str ); a = new ObjectId( o.str ); assert.eq( o.str , a.str ); -assert.eq( a.str , a.str.toString() ) +assert.eq( a.str , a.str.toString() ); b = ObjectId( o.str ); assert.eq( o.str , b.str ); -assert.eq( b.str , b.str.toString() ) +assert.eq( b.str , b.str.toString() ); assert.throws( function(z){ return new ObjectId( "a" ); } ); assert.throws( function(z){ return new ObjectId( "12345678901234567890123z" ); } ); |