anchor.diff:        end},
        {expected, {ok, [{dep, "fakeapp", "1.1.0"}, {lock, "fakeapp", "1.1.0"}]}}
        | Config];
  +init_per_testcase(upgrade_no_args, Config0) ->
  +    rebar_test_utils:init_rebar_state(Config0, "upgrade_no_args_");
   init_per_testcase(Case, Config) ->
       DepsType = ?config(deps_type, Config),
       {Deps, UpDeps, ToUp, Expectations} = upgrades(Case),
  
positive.code: -include_lib("eunit/include/eunit.hrl").
  -compile(export_all).
  
  all() -> [{group, git}, {group, pkg}, novsn_pkg].
  
  groups() ->
      [{all, [], [top_a, top_b, top_c, top_d1, top_d2, top_e,
  
negative.code:         end, [], Locks),
      ct:pal("rewriting locks from ~p to~n~p", [Locks, NewLocks]),
      file:write_file(LockFile, io_lib:format("~p.~n", [NewLocks])).
  
  upgrade_no_args(Config) ->
      try rebar_test_utils:run_and_check(Config, [], ["upgrade"], return)
      catch {error, {rebar_prv_upgrade, no_arg}} ->
          ok
      end,
      ok.
  