Browse Source

use `cover:analyse(cover:modules())` for tests instead of `cover:analyse()`

`cover:analyse/0` didn't exist pre-otp18
pull/1316/head
alisdair sullivan 8 years ago
parent
commit
5ef4b7bcbe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/rebar_cover_SUITE.erl

+ 1
- 1
test/rebar_cover_SUITE.erl View File

@ -247,5 +247,5 @@ coverdata_is_reset_on_write(Config) ->
["eunit"], ["eunit"],
{ok, [{app, Name}]}), {ok, [{app, Name}]}),
{result, Ok, []} = cover:analyse(),
{result, Ok, []} = cover:analyse(cover:modules()),
[] = lists:filter(fun({_, {0,_}}) -> false; (_) -> true end, Ok). [] = lists:filter(fun({_, {0,_}}) -> false; (_) -> true end, Ok).

Loading…
Cancel
Save