From 9e9230c129816dc2ee7092734e72bffb2ac17748 Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Sat, 30 May 2009 21:12:06 +0000 Subject: Added code coverage report generation target. To generate reports: # Assuming etap is installed $ cd /path/to/couchdb $ ./bootstrap && ERLC_FLAGS=+debug_info ./configure && make cover You can browse the report by opening ./cover/index.html in your html consuming software of choice. Shoutout to Nick Gerakines in THANKS for helping with etap and testing in general. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@780326 13f79535-47bb-0310-9956-ffa450edef68 --- test/etap/030-doc-from-json.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/etap/030-doc-from-json.t') diff --git a/test/etap/030-doc-from-json.t b/test/etap/030-doc-from-json.t index bf685c24..2d5eb8f7 100644 --- a/test/etap/030-doc-from-json.t +++ b/test/etap/030-doc-from-json.t @@ -87,11 +87,11 @@ test_from_json_success() -> }, { {[ - {<<"_rev">>, <<"6-something">>}, {<<"_revisions">>, {[ {<<"start">>, 4}, {<<"ids">>, [<<"foo1">>, <<"phi3">>, <<"omega">>]} - ]}} + ]}}, + {<<"_rev">>, <<"6-something">>} ]}, #doc{revs={4, [<<"foo1">>, <<"phi3">>, <<"omega">>]}}, "_revisions attribute are preferred to _rev." -- cgit v1.2.3