diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/test/attachments.js | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/share/www/script/test/attachments.js b/share/www/script/test/attachments.js index 79178f8c..f89ec124 100644 --- a/share/www/script/test/attachments.js +++ b/share/www/script/test/attachments.js @@ -149,21 +149,20 @@ couchTests.attachments= function(debug) { T(xhr.status == 200); T(xhr.responseText == "This is a string"); - // Attachment sparseness COUCHDB-220 var docs = [] for (var i = 0; i < 5; i++) { - var doc = { - _id: (i).toString(), - _attachments:{ - "foo.txt": { - content_type:"text/plain", - data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ=" - } - } + var doc = { + _id: (i).toString(), + _attachments:{ + "foo.txt": { + content_type:"text/plain", + data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ=" + } } - docs.push(doc) + } + docs.push(doc) } db.bulkSave(docs); |