diff options
author | Aaron <aaron@10gen.com> | 2012-02-24 20:11:19 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2012-02-24 22:49:17 -0800 |
commit | c245f81e5d8170b14e798e00ba9e681f4dab4556 (patch) | |
tree | 3651b7fae9f71c35523bc2457f4070ad29517d14 /jstests | |
parent | 4cf100a724914105328290c73cd433a3bb429c2a (diff) | |
download | mongo-c245f81e5d8170b14e798e00ba9e681f4dab4556.tar.gz |
clean tests
Diffstat (limited to 'jstests')
-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 |