summaryrefslogtreecommitdiff
path: root/jstests/geo_circle1.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-08-19 18:15:00 -0400
committerMathias Stearn <mathias@10gen.com>2010-08-24 13:28:00 -0400
commit7845a6ebfe66eccd402c9f24f27a0347d346e7f4 (patch)
tree6f2022331b079347539926d03d9a37bb470a4951 /jstests/geo_circle1.js
parentfa004db722fcda71debb9ce9adfe65e37951b2bb (diff)
downloadmongo-7845a6ebfe66eccd402c9f24f27a0347d346e7f4.tar.gz
typo
Diffstat (limited to 'jstests/geo_circle1.js')
-rw-r--r--jstests/geo_circle1.js2
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] ) )
}