mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
2 more asserts
This commit is contained in:
parent
ad29f40716
commit
42737c6e30
@ -15,5 +15,7 @@ assert.eq( num , t.find( { a : "b" } ).itcount() , "C1" );
|
||||
t.ensureIndex( { a : "b" } );
|
||||
|
||||
assert.eq( num , t.find().count() ,"A2" );
|
||||
assert.eq( num , t.find().sort( { a : 1 } ).count() , "A2a" );
|
||||
assert.eq( num , t.find().sort( { a : "b" } ).itcount() , "A2b" );
|
||||
assert.eq( num , t.find( { a : "b" } ).count() , "B2" );
|
||||
assert.eq( num , t.find( { a : "b" } ).itcount() , "C3" );
|
||||
|
Loading…
Reference in New Issue
Block a user