Mercurial > hg
changeset 48608:f87b632406a9
test-http-bad-server: align output by using `;`
This is the only message using a `,` instead of `;` and that seems
unintentional. I am unifying the message before unigying the code.
Differential Revision: https://phab.mercurial-scm.org/D12039
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 21 Jan 2022 02:07:13 +0100 |
parents | 89485747b8f7 |
children | 8039cca948f8 |
files | tests/test-http-bad-server.t tests/testlib/badserverext.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-http-bad-server.t Wed Jan 19 19:04:55 2022 +0100 +++ b/tests/test-http-bad-server.t Fri Jan 21 02:07:13 2022 +0100 @@ -266,7 +266,7 @@ readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) readline(* from *) -> (2) \r\n (glob) read(* from 28) -> (*) cmds=* (glob) - read limit reached, closing socket + read limit reached; closing socket $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=batch': (glob) Traceback (most recent call last): Exception: connection closed after receiving N bytes
--- a/tests/testlib/badserverext.py Wed Jan 19 19:04:55 2022 +0100 +++ b/tests/testlib/badserverext.py Fri Jan 21 02:07:13 2022 +0100 @@ -230,7 +230,7 @@ object.__setattr__(self, '_closeafterrecvbytes', remaining) if remaining <= 0: - self._writelog(b'read limit reached, closing socket') + self._writelog(b'read limit reached; closing socket') self._close() # This is the easiest way to abort the current request.