summaryrefslogtreecommitdiff
path: root/share/www/script/test/compact.js
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-11-18 13:27:21 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-11-18 13:27:21 +0000
commit19c1bd388cfdbd8954f43ac48fb25af637b7e07c (patch)
treee92d94bf38e090aed4c00a65b1253c9a13ff42c0 /share/www/script/test/compact.js
parent9d2d40f25da4f62f4d68172e2c62b4a6eb01e531 (diff)
Merged revisions 986710, 988909, 997862, 998090, 1005513 and 1036447 from trunk to make the JavaScript test suite work as well on Chrome/Chromium and Safari.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036449 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);