anchor.diff:       || {dep, App} <- Apps],
       %% A second run to another profile doesn't link dependencies
       rebar_test_utils:run_and_check(
  -        Config, RebarConfig, ["as", "other", "install_deps"], Expect
  +        Config, RebarConfig, ["as", "other", "lock"], Expect
       ),
       [?assertMatch({error, enoent},
                     file:read_file_info(filename:join([BuildDir, "default", "lib", App])))
  
positive.code: run(Config) ->
      {ok, RebarConfig} = file:consult(?config(rebarconfig, Config)),
      rebar_test_utils:run_and_check(
          Config, RebarConfig, ["install_deps"], ?config(expect, Config)
      ),
      check_warnings(warning_calls(), ?config(warnings, Config), ?config(deps_type, Config)).
  
  
negative.code:     Config.
  
  format_expected_deps(Deps) ->
      lists:append([case Dep of
          {N,V} -> [{dep, N, V}, {lock, N, V}];
          N -> [{dep, N}, {lock, N}]
      end || Dep <- Deps]).
  
  %% format:
  %% {Spec,
  