summaryrefslogtreecommitdiff
path: root/jstests/in3.js
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2010-08-11 12:38:57 +0200
committerAntonin Kral <a.kral@bobek.cz>2010-08-11 12:38:57 +0200
commit7645618fd3914cb8a20561625913c20d49504a49 (patch)
tree8370f846f58f6d71165b7a0e2eda04648584ec76 /jstests/in3.js
parent68c73c3c7608b4c87f07440dc3232801720b1168 (diff)
downloadmongodb-7645618fd3914cb8a20561625913c20d49504a49.tar.gz
Imported Upstream version 1.6.0
Diffstat (limited to 'jstests/in3.js')
-rw-r--r--jstests/in3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/in3.js b/jstests/in3.js
index 1ec53ca..305fb22 100644
--- a/jstests/in3.js
+++ b/jstests/in3.js
@@ -2,8 +2,8 @@ t = db.jstests_in3;
t.drop();
t.ensureIndex( {i:1} );
-assert.eq( [ [ {i:3}, {i:3} ] ], t.find( {i:{$in:[3]}} ).explain().indexBounds , "A1" );
-assert.eq( [ [ {i:3}, {i:3} ], [ {i:6}, {i:6} ] ], t.find( {i:{$in:[3,6]}} ).explain().indexBounds , "A2" );
+assert.eq( {i:[[3,3]]}, t.find( {i:{$in:[3]}} ).explain().indexBounds , "A1" );
+assert.eq( {i:[[3,3],[6,6]]}, t.find( {i:{$in:[3,6]}} ).explain().indexBounds , "A2" );
for ( var i=0; i<20; i++ )
t.insert( { i : i } );