couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [29/50] git commit: fix tests after the change on trunk@1177162 .
Date Wed, 26 Oct 2011 18:05:33 GMT
fix tests after the change on trunk@1177162 .


git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1177495 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/218c84e5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/218c84e5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/218c84e5

Branch: refs/heads/1319-large-headers-are-corrupted
Commit: 218c84e5f2d9d9ec56dd259de3d3e788c4fcadb6
Parents: f041f63
Author: Benoit Chesneau <benoitc@apache.org>
Authored: Fri Sep 30 03:51:07 2011 +0000
Committer: Benoit Chesneau <benoitc@apache.org>
Committed: Fri Sep 30 03:51:07 2011 +0000

----------------------------------------------------------------------
 share/www/script/test/content_negotiation.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/218c84e5/share/www/script/test/content_negotiation.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/content_negotiation.js b/share/www/script/test/content_negotiation.js
index c79df94..5778fad 100644
--- a/share/www/script/test/content_negotiation.js
+++ b/share/www/script/test/content_negotiation.js
@@ -21,16 +21,16 @@ couchTests.content_negotiation = function(debug) {
   var req = CouchDB.newXhr();
   req.open("GET", "/test_suite_db/", false);
   req.send("");
-  TEquals("text/plain;charset=utf-8", req.getResponseHeader("Content-Type"));
+  TEquals("text/plain; charset=utf-8", req.getResponseHeader("Content-Type"));
 
   // make sure JSON responses end in a newline
   var text = req.responseText;
   TEquals("\n", text[text.length-1]);
 
   xhr = CouchDB.request("GET", "/test_suite_db/", {
-    headers: {"Accept": "text/html;text/plain;*/*"}
+    headers: {"Accept": "text/html; text/plain;*/*"}
   });
-  TEquals("text/plain;charset=utf-8", xhr.getResponseHeader("Content-Type"));
+  TEquals("text/plain; charset=utf-8", xhr.getResponseHeader("Content-Type"));
 
   xhr = CouchDB.request("GET", "/test_suite_db/", {
     headers: {"Accept": "application/json"}


Mime
View raw message