소스 검색

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 년 전
부모
커밋
5ef4b7bcbe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      test/rebar_cover_SUITE.erl

+ 1
- 1
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).

불러오는 중...
취소
저장