Fix rebar_eunit whitespace issues

This commit is contained in:
Tuncer Ayaz 2012-07-02 19:20:45 +02:00
parent 9521d3fd86
commit f5af9d6c21

View file

@ -87,13 +87,12 @@ eunit(Config, _AppFile) ->
%% for source files. Also copy files from src_dirs. %% for source files. Also copy files from src_dirs.
ErlOpts = rebar_utils:erl_opts(Config), ErlOpts = rebar_utils:erl_opts(Config),
SrcDirs = rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts)),
SrcErls = lists:foldl( SrcErls = lists:foldl(
fun(Dir, Acc) -> fun(Dir, Acc) ->
lists:append(Acc, rebar_utils:find_files(Dir, ".*\\.erl\$")) Files = rebar_utils:find_files(Dir, ".*\\.erl\$"),
end, lists:append(Acc, Files)
[], end, [], SrcDirs),
rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts))
),
?DEBUG("SrcErls: ~s\n", [SrcErls]), ?DEBUG("SrcErls: ~s\n", [SrcErls]),
%% If it is not the first time rebar eunit is executed, there will be source %% If it is not the first time rebar eunit is executed, there will be source