diff options
Diffstat (limited to 'jstests/find2.js')
-rw-r--r-- | jstests/find2.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/jstests/find2.js b/jstests/find2.js deleted file mode 100644 index f72203419bc..00000000000 --- a/jstests/find2.js +++ /dev/null @@ -1,16 +0,0 @@ -// Test object id sorting. - -function testObjectIdFind( db ) { - r = db.ed_db_find2_oif; - r.drop(); - - for( i = 0; i < 3; ++i ) - r.save( {} ); - - f = r.find().sort( { _id: 1 } ); - assert.eq( 3, f.count() ); - assert( f[ 0 ]._id < f[ 1 ]._id ); - assert( f[ 1 ]._id < f[ 2 ]._id ); -} - -testObjectIdFind( db ); |