From ff916887efb0db7b4c093f768e5240d879fa85c9 Mon Sep 17 00:00:00 2001
From: Peter Andersson
Date: Fri, 30 Sep 2011 11:01:20 +0200
Subject: Rid ct_telnet of doc build warnings
OTP-9572
---
lib/common_test/src/ct_telnet.erl | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl
index c6f5fd7df4..71a784870c 100644
--- a/lib/common_test/src/ct_telnet.erl
+++ b/lib/common_test/src/ct_telnet.erl
@@ -245,7 +245,6 @@ cmdf(Connection,CmdFormat,Args) ->
%%% Data = [string()]
%%% @doc Send a telnet command and wait for prompt
%%% (uses a format string and list of arguments to build the command).
-%%%-----------------------------------------------------------------
cmdf(Connection,CmdFormat,Args,Timeout) when is_list(Args) ->
Cmd = lists:flatten(io_lib:format(CmdFormat,Args)),
cmd(Connection,Cmd,Timeout).
@@ -360,15 +359,15 @@ expect(Connection,Patterns) ->
%%% will also be a HaltReason
returned.
%%%
%%% Examples:
-%%% expect(Connection,[{abc,"ABC"},{xyz,"XYZ"}],
-%%% [sequence,{halt,[{nnn,"NNN"}]}]).
will try to match
+%%% expect(Connection,[{abc,"ABC"},{xyz,"XYZ"}],
+%%% [sequence,{halt,[{nnn,"NNN"}]}]).
will try to match
%%% "ABC" first and then "XYZ", but if "NNN" appears the function will
%%% return {error,{nnn,["NNN"]}}
. If both "ABC" and "XYZ"
%%% are matched, the function will return
%%% {ok,[AbcMatch,XyzMatch]}
.
%%%
-%%% expect(Connection,[{abc,"ABC"},{xyz,"XYZ"}],
-%%% [{repeat,2},{halt,[{nnn,"NNN"}]}]).
will try to match
+%%%
expect(Connection,[{abc,"ABC"},{xyz,"XYZ"}],
+%%% [{repeat,2},{halt,[{nnn,"NNN"}]}]).
will try to match
%%% "ABC" or "XYZ" twice. If "NNN" appears the function will return
%%% with HaltReason = {nnn,["NNN"]}
.
%%%
--
cgit v1.2.3