summaryrefslogtreecommitdiff
path: root/share/www/script/test/attachments.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/attachments.js')
-rw-r--r--share/www/script/test/attachments.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/attachments.js b/share/www/script/test/attachments.js
index 409426c7..4b43e31a 100644
--- a/share/www/script/test/attachments.js
+++ b/share/www/script/test/attachments.js
@@ -32,8 +32,8 @@ couchTests.attachments= function(debug) {
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.getResponseHeader("Etag") == save_response.rev);
-
+ T(xhr.getResponseHeader("Etag") == '"' + save_response.rev + '"');
+
// empty attachment
var binAttDoc2 = {
_id: "bin_doc2",