浏览代码

remove superfluous string concat operator usage

pull/3/head
Philip Mueller 12 年前
父节点
当前提交
c79314593d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/rebar_eunit.erl

+ 3
- 3
src/rebar_eunit.erl 查看文件

@ -524,9 +524,9 @@ align_notcovered_count(Module, Covered, NotCovered, true) ->
cover_write_index(Coverage, SrcModules) ->
{ok, F} = file:open(filename:join([?EUNIT_DIR, "index.html"]), [write]),
ok = file:write(F, "<!DOCTYPE HTML><html>\n" ++
"<head><meta charset=\"utf-8\">" ++
"<title>Coverage Summary</title></head>\n" ++
ok = file:write(F, "<!DOCTYPE HTML><html>\n"
"<head><meta charset=\"utf-8\">"
"<title>Coverage Summary</title></head>\n"
"<body>\n"),
IsSrcCoverage = fun({Mod,_C,_N}) -> lists:member(Mod, SrcModules) end,
{SrcCoverage, TestCoverage} = lists:partition(IsSrcCoverage, Coverage),

正在加载...
取消
保存