summaryrefslogtreecommitdiff
path: root/jstests/index_check2.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-09 10:12:19 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-09 10:12:19 -0400
commit0ca301655e98b29c9d9e02c4963f8f9c7b4ee8c4 (patch)
tree4bf23fe6dbb16b0f63010fa35682325e299d8ad6 /jstests/index_check2.js
parente6069e40d9673de8d0824fef22e387a8527883ef (diff)
downloadmongo-0ca301655e98b29c9d9e02c4963f8f9c7b4ee8c4.tar.gz
arrays match themselves in queryies SERVER-146
Diffstat (limited to 'jstests/index_check2.js')
-rw-r--r--jstests/index_check2.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/index_check2.js b/jstests/index_check2.js
index 5ffd93bf65b..56796ac2f5a 100644
--- a/jstests/index_check2.js
+++ b/jstests/index_check2.js
@@ -24,9 +24,9 @@ assert.eq( 120 , t.find( q1 ).itcount() , "q1 a");
assert.eq( 120 , t.find( q2 ).itcount() , "q2 a" );
assert.eq( 60 , t.find( q3 ).itcount() , "q3 a");
-assert.eq( "BtreeCursor tags_1" , t.find( q1 ).explain().cursor );
-assert.eq( "BtreeCursor tags_1" , t.find( q2 ).explain().cursor );
-assert.eq( "BtreeCursor tags_1" , t.find( q3 ).explain().cursor );
+assert.eq( "BtreeCursor tags_1" , t.find( q1 ).explain().cursor , "e1" );
+assert.eq( "BtreeCursor tags_1" , t.find( q2 ).explain().cursor , "e2" );
+assert.eq( "BtreeCursor tags_1" , t.find( q3 ).explain().cursor , "e3" );
scanned1 = t.find(q1).explain().nscanned;
scanned2 = t.find(q2).explain().nscanned;