couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r680765 - /incubator/couchdb/trunk/share/www/script/couch_tests.js
Date Tue, 29 Jul 2008 16:47:49 GMT
Author: damien
Date: Tue Jul 29 09:47:48 2008
New Revision: 680765

URL: http://svn.apache.org/viewvc?rev=680765&view=rev
Log:
Removed some debugging stuff I left in the tests. oops.

Modified:
    incubator/couchdb/trunk/share/www/script/couch_tests.js

Modified: incubator/couchdb/trunk/share/www/script/couch_tests.js
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/share/www/script/couch_tests.js?rev=680765&r1=680764&r2=680765&view=diff
==============================================================================
--- incubator/couchdb/trunk/share/www/script/couch_tests.js [utf-8] (original)
+++ incubator/couchdb/trunk/share/www/script/couch_tests.js [utf-8] Tue Jul 29 09:47:48 2008
@@ -290,10 +290,6 @@
     result = db.query(map, reduce, {startkey: 4, endkey: 6});
     T(result.rows[0].value == 15);
 
-    result = db.query(map, reduce, {count: 3});
-    console.log(result.rows[0].value);
-    T(result.rows[0].value == 6);
-
     for(var i=1; i<numDocs/2; i+=30) {
       result = db.query(map, reduce, {startkey: i, endkey: numDocs - i});
       T(result.rows[0].value == summate(numDocs-i) - summate(i-1));
@@ -418,14 +414,6 @@
     // account for floating point rounding error
     T(Math.abs(difference) < 0.0000000001);
     
-    var rows = db.query(map).rows;
-    console.log(JSON.stringify(rows))
-    for(var i=0; i < 10; i++) {
-      for(var j=0; j < 10; j++) {
-        T(rows[(i*10) + j].value == (i+1)*10);
-      }
-    }
-      
   },
 
   multiple_rows: function(debug) {



Mime
View raw message