couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject svn commit: r1177495 - /couchdb/trunk/share/www/script/test/content_negotiation.js
Date Fri, 30 Sep 2011 03:51:08 GMT
Author: benoitc
Date: Fri Sep 30 03:51:07 2011
New Revision: 1177495

URL: http://svn.apache.org/viewvc?rev=1177495&view=rev
Log:
fix tests after the change on trunk@1177162 .

Modified:
    couchdb/trunk/share/www/script/test/content_negotiation.js

Modified: couchdb/trunk/share/www/script/test/content_negotiation.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/content_negotiation.js?rev=1177495&r1=1177494&r2=1177495&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/content_negotiation.js (original)
+++ couchdb/trunk/share/www/script/test/content_negotiation.js Fri Sep 30 03:51:07 2011
@@ -21,16 +21,16 @@ couchTests.content_negotiation = functio
   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