diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-09-16 17:47:29 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-09-16 17:47:29 +0000 |
commit | 307029fd0dc4886092f9196c275a71c3d8a32220 (patch) | |
tree | f6d13682fbc2375b712470b7914fa088d8518ab6 /share/www/script/test/attachments.js | |
parent | 6cc96f2ac7b2dfa04b57d5523cfe6c8b0b6c083b (diff) |
JavaScript test files: adding missing semi-colons (Chrome is sensitive about them, but they're not mandatory according to ECMAScript spec) and removing extra commas.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997862 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/attachments.js')
-rw-r--r-- | share/www/script/test/attachments.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/www/script/test/attachments.js b/share/www/script/test/attachments.js index 81e9259c..b0cfd2c5 100644 --- a/share/www/script/test/attachments.js +++ b/share/www/script/test/attachments.js @@ -24,7 +24,7 @@ couchTests.attachments= function(debug) { data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ=" } } - } + }; var save_response = db.save(binAttDoc); T(save_response.ok); @@ -158,7 +158,7 @@ couchTests.attachments= function(debug) { // Attachment sparseness COUCHDB-220 - var docs = [] + var docs = []; for (var i = 0; i < 5; i++) { var doc = { _id: (i).toString(), @@ -168,8 +168,8 @@ couchTests.attachments= function(debug) { data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ=" } } - } - docs.push(doc) + }; + docs.push(doc); } var saved = db.bulkSave(docs); @@ -256,7 +256,7 @@ couchTests.attachments= function(debug) { data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ=" } } - } + }; T(db.save(bin_doc6).ok); // stub out the attachment bin_doc6._attachments["foo.txt"] = { stub: true }; |