diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2019-05-14 08:20:06 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2019-05-14 08:20:06 -0400 |
commit | 725c900219574c6d9055fde8cc4f773a7be14866 (patch) | |
tree | fb5a04d10b06ded73d1e55518476de3efad68c25 | |
parent | 3a16cf3763c198e9167ec11a146e25334adc82f5 (diff) |
Make test suite pass on OTP-22
- fix some bad typespec
- bump the meck version for good fortune
-rw-r--r-- | rebar.config | 2 | ||||
-rw-r--r-- | src/rebar_utils.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config index 6a83a37..77fe225 100644 --- a/rebar.config +++ b/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]} ] }, diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index c920e46..6e5e934 100644 --- a/src/rebar_utils.erl +++ b/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)) -> |