ソースを参照

Make test suite pass on OTP-22

- fix some bad typespec
- bump the meck version for good fortune
pull/2078/head
Fred Hebert 6年前
コミット
725c900219
2個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      rebar.config
  2. +1
    -1
      src/rebar_utils.erl

+ 1
- 1
rebar.config ファイルの表示

@ -45,7 +45,7 @@
%% Profiles %% Profiles
{profiles, [{test, [ {profiles, [{test, [
{deps, [{meck, "0.8.12"}]},
{deps, [{meck, "0.8.13"}]},
{erl_opts, [debug_info, nowarn_export_all]} {erl_opts, [debug_info, nowarn_export_all]}
] ]
}, },

+ 1
- 1
src/rebar_utils.erl ファイルの表示

@ -972,7 +972,7 @@ get_proxy_auth() ->
{ok, ProxyAuth} -> ProxyAuth {ok, ProxyAuth} -> ProxyAuth
end. end.
-spec rebar_utils:is_list_of_strings(term()) -> boolean().
-spec is_list_of_strings(term()) -> boolean().
is_list_of_strings(List) when not is_list(hd(List)) -> is_list_of_strings(List) when not is_list(hd(List)) ->
false; false;
is_list_of_strings(List) when is_list(hd(List)) -> is_list_of_strings(List) when is_list(hd(List)) ->

読み込み中…
キャンセル
保存