You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2011/09/30 05:51:08 UTC
svn commit: r1177495 -
/couchdb/trunk/share/www/script/test/content_negotiation.js
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"}