diff options
author | Björn-Egil Dahlberg <egil@erlang.org> | 2012-12-06 17:51:34 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <egil@erlang.org> | 2012-12-06 17:51:34 +0100 |
commit | d29c460c4ad1ca0cc2fb6a13a81b4ccc07516941 (patch) | |
tree | 71c13ad0c0e1e62a3da70d23cf1ae3aa62170a3d /lib/common_test/src | |
parent | 6bc9c65ae207ebc2fba03521c2ca3b84264a1dcf (diff) | |
parent | ea0a1b27082451a8871f9af7910f053c44084f4e (diff) | |
download | otp-d29c460c4ad1ca0cc2fb6a13a81b4ccc07516941.tar.gz otp-d29c460c4ad1ca0cc2fb6a13a81b4ccc07516941.tar.bz2 otp-d29c460c4ad1ca0cc2fb6a13a81b4ccc07516941.zip |
Merge branch 'egil/fix-dialyzer-specs/OTP-10601'
* egil/fix-dialyzer-specs/OTP-10601:
common_test: Fix exported types
Diffstat (limited to 'lib/common_test/src')
-rw-r--r-- | lib/common_test/src/ct_netconfc.erl | 2 | ||||
-rw-r--r-- | lib/common_test/src/cth_conn_log.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_netconfc.erl b/lib/common_test/src/ct_netconfc.erl index 294b82bff6..11c8235040 100644 --- a/lib/common_test/src/ct_netconfc.erl +++ b/lib/common_test/src/ct_netconfc.erl @@ -307,7 +307,7 @@ -type option() :: {ssh,host()} | {port,inet:port_number()} | {user,string()} | {password,string()} | {user_dir,string()} | {timeout,timeout()}. --type host() :: inet:host_name() | inet:ip_address(). +-type host() :: inet:hostname() | inet:ip_address(). -type notification() :: {notification, xml_attributes(), notification_content()}. -type notification_content() :: [event_time()|simple_xml()]. diff --git a/lib/common_test/src/cth_conn_log.erl b/lib/common_test/src/cth_conn_log.erl index 3af89db3a5..255f3ec78a 100644 --- a/lib/common_test/src/cth_conn_log.erl +++ b/lib/common_test/src/cth_conn_log.erl @@ -58,7 +58,7 @@ -spec init(Id, HookOpts) -> Result when Id :: term(), - HookOpts :: ct:hook_options(), + HookOpts :: ct_netconfc:hook_options(), Result :: {ok,[{ct_netconfc:conn_mod(), {ct_netconfc:log_type(),[ct_netconfc:key_or_name()]}}]}. init(_Id, HookOpts) -> |