summaryrefslogtreecommitdiff
path: root/share/www/script/test/compact.js
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-09-16 17:47:29 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-09-16 17:47:29 +0000
commit307029fd0dc4886092f9196c275a71c3d8a32220 (patch)
treef6d13682fbc2375b712470b7914fa088d8518ab6 /share/www/script/test/compact.js
parent6cc96f2ac7b2dfa04b57d5523cfe6c8b0b6c083b (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/compact.js')
-rw-r--r--share/www/script/test/compact.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/www/script/test/compact.js b/share/www/script/test/compact.js
index 22eeaec1..805a3b08 100644
--- a/share/www/script/test/compact.js
+++ b/share/www/script/test/compact.js
@@ -26,7 +26,7 @@ couchTests.compact = function(debug) {
data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ="
}
}
- }
+ };
T(db.save(binAttDoc).ok);
@@ -51,8 +51,8 @@ couchTests.compact = function(debug) {
T(db.ensureFullCommit().ok);
restartServer();
var xhr = CouchDB.request("GET", "/test_suite_db/bin_doc/foo.txt");
- T(xhr.responseText == "This is a base64 encoded text")
- T(xhr.getResponseHeader("Content-Type") == "text/plain")
+ T(xhr.responseText == "This is a base64 encoded text");
+ T(xhr.getResponseHeader("Content-Type") == "text/plain");
T(db.info().doc_count == 1);
T(db.info().disk_size < deletesize);