summaryrefslogtreecommitdiff
path: root/share/www/script/couch_tests.js
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2008-05-19 20:33:29 +0000
committerJan Lehnardt <jan@apache.org>2008-05-19 20:33:29 +0000
commit6fe2707d20e96453acf9e99813d786ff5cf7ad65 (patch)
tree552692c605b5adf34624567b8f6ec823f94d0c03 /share/www/script/couch_tests.js
parent568b798126654d0c9dfe964323df2aa5f6b9233b (diff)
- off by (n)one
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch_tests.js')
-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