Bug 1563891 - followup to fix linting. rs=eslint DONTBUILD

--HG--
extra : amend_source : e5255401e054a8a1c4304ef5cf29d974b9f35d96
This commit is contained in:
Magnus Melin 2020-09-16 15:00:45 +03:00
Родитель 6468a137f5
Коммит e617b978ea
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -50,18 +50,18 @@ msgListener.prototype = {
Assert.equal(aStatus, 0); Assert.equal(aStatus, 0);
do_check_transaction(server.playTransaction(), [ do_check_transaction(server.playTransaction(), [
"EHLO test", "EHLO test",
"MAIL FROM:<" + kSender + "> BODY=8BITMIME SIZE=" + originalData.length, "MAIL FROM:<" +
kSender +
"> BODY=8BITMIME SIZE=" +
originalData.length,
"RCPT TO:<" + this.rcpt + ">", "RCPT TO:<" + this.rcpt + ">",
"DATA", "DATA",
]); ]);
// Compare data file to what the server received // Compare data file to what the server received
Assert.equal(originalData, server._daemon.post); Assert.equal(originalData, server._daemon.post);
} } else {
else {
Assert.equal(aStatus, NS_ERROR_BUT_DONT_SHOW_ALERT); Assert.equal(aStatus, NS_ERROR_BUT_DONT_SHOW_ALERT);
do_check_transaction(server.playTransaction(), [ do_check_transaction(server.playTransaction(), ["EHLO test"]);
"EHLO test",
]);
// Local address (before the @) has non-ascii char(s) or the @ is // Local address (before the @) has non-ascii char(s) or the @ is
// missing from the address. An alert is triggered after the EHLO is // missing from the address. An alert is triggered after the EHLO is
// sent. Nothing else occurs so we "finish" the test to avoid // sent. Nothing else occurs so we "finish" the test to avoid