summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-01-17 16:57:48 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-01-17 17:04:07 +0100
commitee44d8554a65d0ec2ed19f58f6f10ead0f76f701 (patch)
treef4d9dbce9957ae9da459bcabad6f9214b9bc82ac
parent159f3ac2e5e9ed836af3f73aa134e970deb93bd9 (diff)
Fix whitespace errors
-rw-r--r--src/rebar_eunit.erl25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index 410d1f5..61b78fc 100644
--- a/src/rebar_eunit.erl
+++ b/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)),