浏览代码

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, [{test, [
{deps, [{meck, "0.8.12"}]},
{deps, [{meck, "0.8.13"}]},
{erl_opts, [debug_info, nowarn_export_all]}
]
},

+ 1
- 1
src/rebar_utils.erl 查看文件

@ -972,7 +972,7 @@ get_proxy_auth() ->
{ok, ProxyAuth} -> ProxyAuth
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)) ->
false;
is_list_of_strings(List) when is_list(hd(List)) ->

正在加载...
取消
保存