diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-08-19 18:15:00 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-08-24 13:28:00 -0400 |
commit | 7845a6ebfe66eccd402c9f24f27a0347d346e7f4 (patch) | |
tree | 6f2022331b079347539926d03d9a37bb470a4951 /jstests/geo_circle1.js | |
parent | fa004db722fcda71debb9ce9adfe65e37951b2bb (diff) | |
download | mongo-7845a6ebfe66eccd402c9f24f27a0347d346e7f4.tar.gz |
typo
Diffstat (limited to 'jstests/geo_circle1.js')
-rw-r--r-- | jstests/geo_circle1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/geo_circle1.js b/jstests/geo_circle1.js index 92085110f2a..4fe6c5f3286 100644 --- a/jstests/geo_circle1.js +++ b/jstests/geo_circle1.js @@ -36,7 +36,7 @@ for ( i=0; i<searches.length; i++ ){ //printjson( Array.sort( t.find(q).map( function(z){ return z._id; } ) ) ) assert.eq( correct[i].length , t.find( q ).itcount() , "itcount : " + tojson( searches[i] ) ); - assert.eq( correct[i].length , t.find( q ).itcount() , "count : " + tojson( searches[i] ) ); + assert.eq( correct[i].length , t.find( q ).count() , "count : " + tojson( searches[i] ) ); assert.gt( correct[i].length * 2 , t.find(q).explain().nscanned , "nscanned : " + tojson( searches[i] ) ) } |