From 3beeec9db0880c5e9f57a427796d9d9af9ffa46d Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Sat, 27 Aug 2016 13:44:33 -0700 Subject: r15 proof cover tests`` --- test/rebar_cover_SUITE.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/rebar_cover_SUITE.erl b/test/rebar_cover_SUITE.erl index 84723ff..4192f4a 100644 --- a/test/rebar_cover_SUITE.erl +++ b/test/rebar_cover_SUITE.erl @@ -247,5 +247,6 @@ coverdata_is_reset_on_write(Config) -> ["eunit"], {ok, [{app, Name}]}), - {result, Ok, []} = cover:analyse(cover:modules()), + Res = lists:map(fun(M) -> cover:analyse(M) end, cover:modules()), + Ok = lists:foldl(fun({ok, R}, Acc) -> R ++ Acc end, [], Res), [] = lists:filter(fun({_, {0,_}}) -> false; (_) -> true end, Ok). -- cgit v1.1