From 725c900219574c6d9055fde8cc4f773a7be14866 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Tue, 14 May 2019 08:20:06 -0400 Subject: Make test suite pass on OTP-22 - fix some bad typespec - bump the meck version for good fortune --- rebar.config | 2 +- 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)) -> -- cgit v1.1