diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-03-27 16:43:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-27 16:43:54 -0400 |
commit | e32cd3118f0aada01775e9d2468bb98b04e2be28 (patch) | |
tree | 91e443b268d993db5e5d5de30ea016c00b453688 /src/rebar_prv_cover.erl | |
parent | 2cc07d8f1fa0f0f3491720389d9c85b755ec8e59 (diff) | |
parent | e83100bbc85967134fe68dbf691c2cca8d6db10c (diff) |
Merge pull request #1523 from mbeijen/separate
Typo: seperate -> separate
Diffstat (limited to 'src/rebar_prv_cover.erl')
-rw-r--r-- | src/rebar_prv_cover.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl index 865c557..bf142c4 100644 --- a/src/rebar_prv_cover.erl +++ b/src/rebar_prv_cover.erl @@ -215,18 +215,18 @@ print_analysis(Analysis, true) -> format_table(Stats, CoverFiles) -> MaxLength = max(lists:foldl(fun max_length/2, 0, Stats), 20), Header = header(MaxLength), - Seperator = seperator(MaxLength), + Separator = separator(MaxLength), TotalLabel = format("total", MaxLength), TotalCov = format(calculate_total(Stats), 8), - [io_lib:format("~ts~n~ts~n~ts~n", [Seperator, Header, Seperator]), + [io_lib:format("~ts~n~ts~n~ts~n", [Separator, Header, Separator]), lists:map(fun({Mod, Coverage}) -> Name = format(Mod, MaxLength), Cov = format(Coverage, 8), io_lib:format(" | ~ts | ~ts |~n", [Name, Cov]) end, Stats), - io_lib:format("~ts~n", [Seperator]), + io_lib:format("~ts~n", [Separator]), io_lib:format(" | ~ts | ~ts |~n", [TotalLabel, TotalCov]), - io_lib:format("~ts~n", [Seperator]), + io_lib:format("~ts~n", [Separator]), io_lib:format(" coverage calculated from:~n", []), lists:map(fun(File) -> io_lib:format(" ~ts~n", [File]) @@ -242,7 +242,7 @@ max_length({ModName, _}, Min) -> header(Width) -> [" | ", format("module", Width), " | ", format("coverage", 8), " |"]. -seperator(Width) -> +separator(Width) -> [" |--", io_lib:format("~*c", [Width, $-]), "--|------------|"]. format(String, Width) -> io_lib:format("~*.ts", [Width, String]). |