anchor.diff:          Config, RebarConfig, ["lock"],
           {ok, [{lock, "fakelib"},{dep, "fakelib"}]}
       ),
  -    {ok, [{_Vsn, LockData}|_]} = file:consult(Lockfile),
  +    {ok, [{Vsn, LockData}|_]} = file:consult(Lockfile),
       %% So does an upgrade
       rebar_test_utils:run_and_check(
           Config, RebarConfig, ["upgrade"],
           {ok, [{lock, "fakelib"},{dep, "fakelib"}]}
       ),
  -    {ok, [{_Vsn, LockData}|_]} = file:consult(Lockfile).
  +    {ok, [{Vsn, LockData}|_]} = file:consult(Lockfile).
   
   diff_alias_vsn(Config) -> diff_alias(Config).
   
  
positive.code:         {ok, [{lock, "topdep"},{dep, "topdep"},
                {lock,"transitive_app"},{dep,"transitive_app"}]}
      ),
      {ok, [{_Vsn, LockData}|_]} = file:consult(Lockfile),
      ?assert(filelib:is_dir(AliasedName)),
      ?assertNot(filelib:is_dir(PkgName)),
      %% So does an upgrade
  
negative.code:         Config, RebarConfig, ["lock"],
          {ok, [{lock, "fakelib"},{dep, "fakelib"}]}
      ),
      {ok, [{Vsn, LockData}|_]} = file:consult(Lockfile),
      ?assert(lists:any(fun({<<"fakelib">>,{pkg,<<"goodpkg">>,_},_}) -> true
                        ;  (_) -> false end, LockData)),
      %% An second run yields the same
  