From 5ef4b7bcbe026852eb42e10ccc6f75b8e8854a15 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Sat, 27 Aug 2016 13:33:57 -0700 Subject: use `cover:analyse(cover:modules())` for tests instead of `cover:analyse()` `cover:analyse/0` didn't exist pre-otp18 --- test/rebar_cover_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/rebar_cover_SUITE.erl b/test/rebar_cover_SUITE.erl index d66ec6f..84723ff 100644 --- a/test/rebar_cover_SUITE.erl +++ b/test/rebar_cover_SUITE.erl @@ -247,5 +247,5 @@ coverdata_is_reset_on_write(Config) -> ["eunit"], {ok, [{app, Name}]}), - {result, Ok, []} = cover:analyse(), + {result, Ok, []} = cover:analyse(cover:modules()), [] = lists:filter(fun({_, {0,_}}) -> false; (_) -> true end, Ok). -- cgit v1.1