summaryrefslogtreecommitdiff
path: root/jstests/not2.js
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-03-03 01:46:31 -0800
committerAaron <aaron@10gen.com>2010-03-03 01:46:31 -0800
commit95b9d930fb32a4bbac7ba48cb5723c38d9723091 (patch)
treecad1314663207a9bbad465d466cde5da1d849444 /jstests/not2.js
parent2691d5bde9a9f5b784a0223d3b262edc4e9af5cc (diff)
downloadmongo-95b9d930fb32a4bbac7ba48cb5723c38d9723091.tar.gz
SERVER-692 replace startKey/endKey with indexBounds
Diffstat (limited to 'jstests/not2.js')
-rw-r--r--jstests/not2.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/not2.js b/jstests/not2.js
index bcc5c2e8492..5d33baa07de 100644
--- a/jstests/not2.js
+++ b/jstests/not2.js
@@ -92,11 +92,11 @@ indexed = function( query, min, max ) {
assert( exp.cursor.match( /Btree/ ), tojson( query ) );
assert( exp.allPlans.length == 1, tojson( query ) );
// just expecting one element per key
- for( i in exp.startKey ) {
- assert.eq( exp.startKey[ i ], min );
+ for( i in exp.indexBounds[0][0] ) {
+ assert.eq( exp.indexBounds[0][0][ i ], min );
}
- for( i in exp.endKey ) {
- assert.eq( exp.endKey[ i ], max );
+ for( i in exp.indexBounds[0][1] ) {
+ assert.eq( exp.indexBounds[0][1][ i ], max );
}
}