Fix content_negotiation.js test Commit 351fe793a9c99c62f1b62ad71425dac4971d3bd8 broke a test assertion.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2c2da9af Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2c2da9af Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2c2da9af Branch: refs/heads/1.2.x Commit: 2c2da9aff65b6edb204e058f99b09a63648c6123 Parents: 157db51 Author: Filipe David Borba Manana <[email protected]> Authored: Sat Jan 7 12:16:35 2012 +0000 Committer: Filipe David Borba Manana <[email protected]> Committed: Sat Jan 7 12:16:35 2012 +0000 ---------------------------------------------------------------------- share/www/script/test/content_negotiation.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/2c2da9af/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..2e75369 100644 --- a/share/www/script/test/content_negotiation.js +++ b/share/www/script/test/content_negotiation.js @@ -30,7 +30,7 @@ couchTests.content_negotiation = function(debug) { xhr = CouchDB.request("GET", "/test_suite_db/", { 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"}
