From 35eb5598a0bb86ee21734005f69e78d0c1f3b1e6 Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Fri, 29 Oct 2021 12:19:37 +0200 Subject: common_test: fix spec Add missing option to spec for ct_gen_conn:start/4. Without it, dialyzer thinks ct_telnet:open would always fail since it supplies this option. --- lib/common_test/src/ct_gen_conn.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/common_test') diff --git a/lib/common_test/src/ct_gen_conn.erl b/lib/common_test/src/ct_gen_conn.erl index 47aa5966bb..6e0cc76582 100644 --- a/lib/common_test/src/ct_gen_conn.erl +++ b/lib/common_test/src/ct_gen_conn.erl @@ -83,6 +83,7 @@ | {use_existing_connection, boolean()} | {reconnect, boolean()} | {forward_messages, boolean()} + | {old, boolean()} ; (Name, Address, InitData, CallbackMod) -> {ok, handle()} | {error, Reason :: term()} when Name :: ct:target_name(), -- cgit v1.2.1