summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2016-08-27 13:33:57 -0700
committeralisdair sullivan <alisdairsullivan@yahoo.ca>2016-08-27 13:33:57 -0700
commit5ef4b7bcbe026852eb42e10ccc6f75b8e8854a15 (patch)
treeee63a21d29f3db817b462edda6aa41d111d02f89 /test
parent7e554d06978ac52a4e56b48f67819af356a3279b (diff)
use `cover:analyse(cover:modules())` for tests instead of `cover:analyse()`
`cover:analyse/0` didn't exist pre-otp18
Diffstat (limited to 'test')
-rw-r--r--test/rebar_cover_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
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).