fix test assertion
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fbc0545e Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/fbc0545e Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/fbc0545e Branch: refs/heads/Query-UI-Cleanup Commit: fbc0545e39d7871afc469f3079dee67f823f3220 Parents: 631d033 Author: Robert Newson <[email protected]> Authored: Wed Apr 9 21:54:08 2014 +0100 Committer: Robert Newson <[email protected]> Committed: Wed Apr 9 21:54:08 2014 +0100 ---------------------------------------------------------------------- share/www/script/test/basics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/fbc0545e/share/www/script/test/basics.js ---------------------------------------------------------------------- diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js index c1ba0af..993456c 100644 --- a/share/www/script/test/basics.js +++ b/share/www/script/test/basics.js @@ -267,7 +267,7 @@ couchTests.basics = function(debug) { TEquals(400, xhr.status, "should return a bad request"); result = JSON.parse(xhr.responseText); TEquals("bad_request", result.error); - TEquals("You tried to DELETE a database with a ?=rev parameter. Did you mean to DELETE a document instead?", result.reason); + TEquals("You tried to DELETE a database with a ?rev= parameter. Did you mean to DELETE a document instead?", result.reason); // On restart, a request for creating a database that already exists can // not override the existing database file
