diff options
author | alisdair sullivan <alisdairsullivan@yahoo.ca> | 2016-08-27 13:44:33 -0700 |
---|---|---|
committer | alisdair sullivan <alisdairsullivan@yahoo.ca> | 2016-08-27 13:44:33 -0700 |
commit | 3beeec9db0880c5e9f57a427796d9d9af9ffa46d (patch) | |
tree | ebe507a3b839398660cf688f1b529c6f399a1a4d /test | |
parent | 5ef4b7bcbe026852eb42e10ccc6f75b8e8854a15 (diff) |
r15 proof cover tests``
Diffstat (limited to 'test')
-rw-r--r-- | test/rebar_cover_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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). |