diff options
Diffstat (limited to 'jstests/andor.js')
| -rw-r--r-- | jstests/andor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/andor.js b/jstests/andor.js index fae6ee47aae..4583608b481 100644 --- a/jstests/andor.js +++ b/jstests/andor.js @@ -101,5 +101,5 @@ test(); t.drop(); t.ensureIndex( {a:1} ); var e = t.find( {$and:[{a:1}]} ).explain(); -// nested $or clauses currently ignored for indexing -assert.eq( e.indexBounds, t.find( {$and:[{a:1,$or:[{a:2}]}]} ).explain().indexBounds ); +// nested non singleton $or clauses currently ignored for indexing +assert.eq( e.indexBounds, t.find( {$and:[{a:1,$or:[{a:2},{a:3}]}]} ).explain().indexBounds ); |
