Explorar el Código

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

`cover:analyse/0` didn't exist pre-otp18
pull/1316/head
alisdair sullivan hace 8 años
padre
commit
5ef4b7bcbe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      test/rebar_cover_SUITE.erl

+ 1
- 1
test/rebar_cover_SUITE.erl Ver fichero

@ -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).

Cargando…
Cancelar
Guardar