summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/www/script/couch_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js
index 7b35cf87..bdb4fcca 100644
--- a/share/www/script/couch_tests.js
+++ b/share/www/script/couch_tests.js
@@ -970,7 +970,7 @@ var tests = {
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