summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Nilsson <hans@erlang.org>2020-06-12 10:39:34 +0200
committerHans Nilsson <hans@erlang.org>2020-06-16 11:42:34 +0200
commit68f3619915de723d7f0f48b625f7a9a83221fbed (patch)
tree204d24c937ed64cb8822a6e0c2e2d9e08f317c77
parent3a1d81d2fe9423b7d76f8dad8fd82f069e90c212 (diff)
downloaderlang-68f3619915de723d7f0f48b625f7a9a83221fbed.tar.gz
ssh: Make encode_pty_opts/decode_pty_opts testable
-rw-r--r--lib/ssh/src/ssh_connection.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_connection.erl b/lib/ssh/src/ssh_connection.erl
index 07b5fd3854..9b9d66aaa8 100644
--- a/lib/ssh/src/ssh_connection.erl
+++ b/lib/ssh/src/ssh_connection.erl
@@ -66,6 +66,9 @@
encode_ip/1
]).
+%% For testing only
+-export([encode_pty_opts/1, decode_pty_opts/1]).
+
-type connection_ref() :: ssh:connection_ref().
-type channel_id() :: ssh:channel_id().