diff options
| author | Matthew Sackman <matthew@lshift.net> | 2010-04-22 14:44:57 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2010-04-22 14:44:57 +0100 |
| commit | 66c8d13341a074fd3e7978e5b385f765c8d7d895 (patch) | |
| tree | fd1bcc68360b02288ee0525b232c616843e83e75 /src | |
| parent | 565f05c2b5098292c70813b12e2899e9d9ef4e70 (diff) | |
| download | rabbitmq-server-git-66c8d13341a074fd3e7978e5b385f765c8d7d895.tar.gz | |
Cosmetic, and missing specs
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_misc.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 58681991eb..2c1808465f 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -98,6 +98,7 @@ undefined | r(K) when is_subtype(K, atom())). -spec(rs/1 :: (r(atom())) -> string()). -spec(enable_cover/0 :: () -> ok_or_error()). +-spec(start_cover/1 :: ([{string(), string()} | string()]) -> 'ok'). -spec(report_cover/0 :: () -> 'ok'). -spec(enable_cover/1 :: (file_path()) -> ok_or_error()). -spec(report_cover/1 :: (file_path()) -> 'ok'). @@ -229,7 +230,9 @@ enable_cover(Root) -> _ -> ok end. -start_cover(NodesS) -> {ok, _} = cover:start([makenode(N) || N <- NodesS]). +start_cover(NodesS) -> + {ok, _} = cover:start([makenode(N) || N <- NodesS]), + ok. report_cover() -> report_cover("."). |
