anchor.diff:      %% Copy source files to eunit dir for cover in case they are not directly
       %% in src but in a subdirectory of src. Cover only looks in cwd and ../src
       %% for source files. Also copy files from src_dirs.
  -    ErlOpts = rebar_utils:erl_opts(Config0),
  +    ErlOpts = rebar_utils:erl_opts(Config),
   
       SrcDirs = rebar_utils:src_dirs(proplists:append_values(src_dirs, ErlOpts)),
       SrcErls = lists:foldl(
  
positive.code: %% Public API
  %% ===================================================================
  
  eunit(Config0, _AppFile) ->
      %% Make sure ?EUNIT_DIR/ and ebin/ directory exists (append dummy module)
      ok = filelib:ensure_dir(filename:join(eunit_dir(), "dummy")),
      ok = filelib:ensure_dir(filename:join(ebin_dir(), "dummy")),
  
negative.code: 
      %% Restore code path
      true = code:set_path(CodePath),
      ok.
  
  clean(_Config, _File) ->
      rebar_file_utils:rm_rf(?EUNIT_DIR).
  