From d865942f5b19f88598df4f33b6e628ad78610c06 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Tue, 10 Mar 2009 08:19:58 +0000 Subject: Remove leftover console.log(). Should we get a pre-commit hook for these? Closes COUCHDB-286. Patch by Jason Smith, thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@752020 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/show_documents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www') diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js index ed1ab3b3..f4aa62a7 100644 --- a/share/www/script/test/show_documents.js +++ b/share/www/script/test/show_documents.js @@ -152,7 +152,7 @@ couchTests.show_documents = function(debug) { // show with missing doc xhr = CouchDB.request("GET", "/test_suite_db/_design/template/_show/just-name/missingdoc"); - console.log(xhr) + T(xhr.status == 404, 'Doc should be missing'); T(xhr.responseText == "No such doc"); -- cgit v1.2.3