Skip to content

Commit

Permalink
Simplify specs for ct_telnet.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaka27 committed Apr 29, 2024
1 parent e3ed1eb commit b4fab5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/common_test/src/ct_telnet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ Regular expression matching all possible prompts for a specific target type.
STDLIB) must return a list with one single element.
""".
-type prompt_regexp() :: string().
-type ascii_char() :: 0..127.
-type send_option() :: {'newline', boolean() | [ascii_char()]}.
-type send_option() :: {'newline', boolean() | string()}.
-export_type([connection/0, connection_type/0, handle/0, prompt_regexp/0]).

-record(state,{host,
Expand Down

0 comments on commit b4fab5f

Please sign in to comment.