anchor.diff:  %%%-------------------------------------------------------------------
   
   -module(config).
  -
  --compile([{parse_transform, lager_transform}]).
   
   -include_lib("eunit/include/eunit.hrl").
   
  
positive.code: load_repos_adds_default_keys_test() ->
      RepoCfg = [
          #{domain => <<"test1.domain.org">>,
          keys => [<<"testkey1">>]},
          #{domain => <<"test2.domain.org">>,
          keys => [<<"testkey1">>, <<"testkey2">>]},
          <<"test3.domain.org">>
      ],
  
  
negative.code:                 case K of
                      default ->
                          try KeyLoader(#{type => <<"file">>,
                                          file_name => <<"/etc/cvmfs/keys/", Name/binary, ".gw">>}) of
                              Key ->
                                  #{id := KeyId} = Key,
                                  case lists:search(fun(#{id := Id}) -> Id =:= KeyId end,
                                                    SpecifiedKeys) of
                                      false ->
                                          {[maps:put(keys, [#{id => KeyId, path => <<"/">>}], R) | AccRepos],
                                           [Key | AccKeys]};
                                      _ ->
                                          {[R | AccRepos], AccKeys}
                                  end
  