summaryrefslogtreecommitdiff
path: root/jstests/core/geo_center_sphere1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_center_sphere1.js')
-rw-r--r--jstests/core/geo_center_sphere1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_center_sphere1.js b/jstests/core/geo_center_sphere1.js
index 8beff537d12..a0539965ccc 100644
--- a/jstests/core/geo_center_sphere1.js
+++ b/jstests/core/geo_center_sphere1.js
@@ -89,7 +89,7 @@ function test(index) {
print( 'explain for ' + tojson( q , '' , true ) + ' = ' + tojson( explain ) );
// The index should be at least minimally effective in preventing the full collection
// scan.
- assert.gt( t.find().count(), explain.nscanned ,
+ assert.gt( t.find().count(), explain.executionStats.totalKeysExamined ,
"nscanned : " + tojson( searches[i] ) )
}
}