diff options
-rw-r--r-- | jstests/all2.js | 3 | ||||
-rw-r--r-- | jstests/explain4.js | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/jstests/all2.js b/jstests/all2.js index 65833ba9b07..64372ca5e97 100644 --- a/jstests/all2.js +++ b/jstests/all2.js @@ -9,8 +9,7 @@ t.save( { a : [ { x : 3 } , { x : 4 } ] } ) state = "no index"; function check( n , q , e ){ -// assert.eq( n , t.find( q ).count() , tojson( q ) + " " + e + " count " + state ); - printjson( t.find( q ).toArray() ); + assert.eq( n , t.find( q ).count() , tojson( q ) + " " + e + " count " + state ); assert.eq( n , t.find( q ).itcount() , tojson( q ) + " " + e + " itcount" + state ); } diff --git a/jstests/explain4.js b/jstests/explain4.js index 8261accd110..fe5cf73d7b7 100644 --- a/jstests/explain4.js +++ b/jstests/explain4.js @@ -50,5 +50,3 @@ checkFields( 1, true ); t.save( {} ); checkFields( 1, false, 1 ); checkFields( 2, true, 1 ); -// -//// check all other fields, eg oldPlan |