aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_telnet.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-07-26 14:14:14 +0200
committerRaimo Niskanen <[email protected]>2018-07-27 10:16:17 +0200
commit37c11cda19bd9067a4e094fbde53b276d6ab0d3d (patch)
tree2573bafa6dc9ca3b47c1d4dd974590b4a924bb8b /lib/common_test/src/ct_telnet.erl
parent1fd03472d3d57e57ae4ebcbf0109f82dce14b90c (diff)
downloadotp-37c11cda19bd9067a4e094fbde53b276d6ab0d3d.tar.gz
otp-37c11cda19bd9067a4e094fbde53b276d6ab0d3d.tar.bz2
otp-37c11cda19bd9067a4e094fbde53b276d6ab0d3d.zip
Change "can not" into "cannot"
I did not find any legitimate use of "can not", however skipped changing e.g RFCs archived in the source tree.
Diffstat (limited to 'lib/common_test/src/ct_telnet.erl')
-rw-r--r--lib/common_test/src/ct_telnet.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl
index f9abecfd38..58a29edace 100644
--- a/lib/common_test/src/ct_telnet.erl
+++ b/lib/common_test/src/ct_telnet.erl
@@ -1085,7 +1085,7 @@ match_line(Name,Pid,Line,[Pattern|Patterns],FoundPrompt,Term,EO,RetTag) ->
end;
match_line(Name,Pid,Line,[],FoundPrompt,Term,EO,match) ->
match_line(Name,Pid,Line,EO#eo.haltpatterns,FoundPrompt,Term,EO,halt);
-%% print any terminated line that can not be matched
+%% print any terminated line that cannot be matched
match_line(Name,Pid,Line,[],_FoundPrompt,true,_EO,halt) ->
log(name_or_pid(Name,Pid)," ~ts",[Line]),
nomatch;