瀏覽代碼

Fix whitespace errors

pull/3/head
Tuncer Ayaz 13 年之前
父節點
當前提交
ee44d8554a
共有 1 個檔案被更改,包括 13 行新增12 行删除
  1. +13
    -12
      src/rebar_eunit.erl

+ 13
- 12
src/rebar_eunit.erl 查看文件

@ -33,11 +33,12 @@
%% If true, try to "reset" VM state to approximate state prior to
%% running the EUnit tests:
%% <ul>
%% <li> Stop net_kernel if it was started </li>
%% <li> Stop OTP applications not running before EUnit tests were run </li>
%% <li> Kill processes not running before EUnit tests were run </li>
%% <li> Reset OTP application environment variables </li>
%% </ul> </li>
%% <li>Stop net_kernel if it was started</li>
%% <li>Stop OTP applications not running before EUnit tests were run</li>
%% <li>Kill processes not running before EUnit tests were run</li>
%% <li>Reset OTP application environment variables</li>
%% </ul>
%% </li>
%% </ul>
%% The following Global options are supported:
%% <ul>
@ -95,13 +96,13 @@ eunit(Config, _AppFile) ->
%% Get the full path to a file that was previously copied in ?EUNIT_DIR
ToCleanUp = fun(F, Acc) ->
F2 = filename:basename(F),
F3 = filename:join([?EUNIT_DIR, F2]),
case filelib:is_regular(F3) of
true -> [F3|Acc];
false -> Acc
end
end,
F2 = filename:basename(F),
F3 = filename:join([?EUNIT_DIR, F2]),
case filelib:is_regular(F3) of
true -> [F3|Acc];
false -> Acc
end
end,
ok = rebar_file_utils:delete_each(lists:foldl(ToCleanUp, [], TestErls)),
ok = rebar_file_utils:delete_each(lists:foldl(ToCleanUp, [], SrcErls)),

Loading…
取消
儲存