mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Merge pull request #371 from ferd/cover-print-percent
Fix cover print truncation when coverage is 100%
This commit is contained in:
commit
b693c23663
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ print_coverage(Coverage) ->
|
|||
%% Print the output the console
|
||||
?CONSOLE("~nCode Coverage:~n", []),
|
||||
lists:foreach(fun({Mod, C, N}) ->
|
||||
?CONSOLE("~*s : ~3s~n",
|
||||
?CONSOLE("~*s : ~4s~n",
|
||||
[Width, Mod, percentage(C, N)])
|
||||
end, Coverage),
|
||||
?CONSOLE("~n~*s : ~s~n", [Width, "Total", TotalCoverage]).
|
||||
|
|
Loading…
Reference in a new issue