couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to 269faca
Date Wed, 30 Sep 2015 13:49:03 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master 100bb301c -> 269faca76


Fix tests for 8bbfba7 commit


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/269faca7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/269faca7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/269faca7

Branch: refs/heads/master
Commit: 269faca764c8beeafc80b8c7f9b97da422673462
Parents: 7477e58
Author: Alexander Shorin <kxepal@apache.org>
Authored: Tue Sep 29 16:44:23 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Sep 30 16:45:06 2015 +0300

----------------------------------------------------------------------
 test/couch_doc_json_tests.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/269faca7/test/couch_doc_json_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_doc_json_tests.erl b/test/couch_doc_json_tests.erl
index 165771c..ae4d73c 100644
--- a/test/couch_doc_json_tests.erl
+++ b/test/couch_doc_json_tests.erl
@@ -181,12 +181,12 @@ from_json_error_cases() ->
         },
         {
             {[{<<"_id">>, {[{<<"foo">>, 5}]}}]},
-            {bad_request, <<"Document id must be a string">>},
+            {illegal_docid, <<"Document id must be a string">>},
             "Document id must be a string."
         },
         {
             {[{<<"_id">>, <<"_random">>}]},
-            {bad_request,
+            {illegal_docid,
              <<"Only reserved document ids may start with underscore.">>},
             "Disallow arbitrary underscore prefixed docids."
         },


Mime
View raw message