couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [25/25] couch commit: updated refs/heads/master to 92598cd
Date Thu, 15 Oct 2015 16:35:59 GMT
Fix warnings


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

Branch: refs/heads/master
Commit: 92598cd33abca43e9d1d2e30057b47e207313ad3
Parents: 212498a
Author: Alexander Shorin <kxepal@apache.org>
Authored: Thu Oct 15 19:33:11 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Thu Oct 15 19:33:11 2015 +0300

----------------------------------------------------------------------
 test/couch_doc_tests.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/92598cd3/test/couch_doc_tests.erl
----------------------------------------------------------------------
diff --git a/test/couch_doc_tests.erl b/test/couch_doc_tests.erl
index 853a3af..2025c25 100644
--- a/test/couch_doc_tests.erl
+++ b/test/couch_doc_tests.erl
@@ -29,14 +29,13 @@ doc_from_multi_part_stream_test() ->
     ContentType = "multipart/related;boundary=multipart_related_boundary~~~~~~~~~~~~~~~~~~~~",
     DataFun = fun() -> request(start) end,
 
-    {ok, #doc{id = <<"doc0">>, atts = [_]} = Doc, _Fun, _Parser} =
+    {ok, #doc{id = <<"doc0">>, atts = [_]}, _Fun, _Parser} =
         couch_doc:doc_from_multi_part_stream(ContentType, DataFun),
     ok.
 
 doc_to_multi_part_stream_test() ->
     Boundary = <<"multipart_related_boundary~~~~~~~~~~~~~~~~~~~~">>,
     JsonBytes = <<"{\n \"_id\": \"our document goes here\"\n}\n\n">>,
-    ContentType = "multipart/related;boundary=multipart_related_boundary~~~~~~~~~~~~~~~~~~~~",
     AttData = <<"Hello my important document">>,
     AttLength = size(AttData),
     Atts = [couch_att:new([


Mime
View raw message