couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r657963 - /incubator/couchdb/trunk/share/www/script/couch_tests.js
Date Mon, 19 May 2008 20:33:29 GMT
Author: jan
Date: Mon May 19 13:33:29 2008
New Revision: 657963

URL: http://svn.apache.org/viewvc?rev=657963&view=rev
Log:
- off by (n)one

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=657963&r1=657962&r2=657963&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] Mon May 19 13:33:29 2008
@@ -970,7 +970,7 @@
 function makeDocs(start, end, templateDoc) {
   var templateDocSrc = templateDoc ? templateDoc.toSource() : "{}"
   var docs = []
-  for(var i=start; i<end; i++) {
+  for(var i=start; i<=end; i++) {
     var newDoc = eval("(" + templateDocSrc + ")");
     newDoc._id = (i).toString();
     newDoc.integer = i



Mime
View raw message