summaryrefslogtreecommitdiff
path: root/jstests/geo_box1.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-03-17 11:46:26 -0400
committerEliot Horowitz <eliot@10gen.com>2010-03-17 11:46:26 -0400
commit7fa2feb8913dec022fd5c4a533d68034b896cfd5 (patch)
tree3f180ce61ac578625c05ca978b68dd9009be99c8 /jstests/geo_box1.js
parent877278b04e1bd94420bff1228d1a3b1bc2318425 (diff)
downloadmongo-7fa2feb8913dec022fd5c4a533d68034b896cfd5.tar.gz
some Cursors may not support get more
Diffstat (limited to 'jstests/geo_box1.js')
-rw-r--r--jstests/geo_box1.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/geo_box1.js b/jstests/geo_box1.js
index c22e9f36b18..6e05986d48b 100644
--- a/jstests/geo_box1.js
+++ b/jstests/geo_box1.js
@@ -34,3 +34,8 @@ for ( i=0; i<searches.length; i++ ){
assert.eq( 0 , t.find( { loc : { $within : { $box : [ [100 , 100 ] , [ 110 , 110 ] ] } } } ).itcount() , "E1" )
assert.eq( 0 , t.find( { loc : { $within : { $box : [ [100 , 100 ] , [ 110 , 110 ] ] } } } ).count() , "E2" )
+
+
+assert.eq( num , t.find( { loc : { $within : { $box : [ [ 0 , 0 ] , [ 110 , 110 ] ] } } } ).count() , "E2" )
+assert.eq( num , t.find( { loc : { $within : { $box : [ [ 0 , 0 ] , [ 110 , 110 ] ] } } } ).itcount() , "E2" )
+