Skip to content

Commit

Permalink
fix invalid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Mar 31, 2014
1 parent 66110c7 commit cf22d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/server.js
Expand Up @@ -568,7 +568,7 @@ exports["ignoreTLS"] = {
"MAIL FROM:<d3ph@github.com>",
"RCPT TO:<andris@pangalink.net>",
"DATA",
"Test mail\015\012.\015\012",
"Test mail\r\n.\r\n",
];
runClientMockup(PORT_NUMBER, "localhost", cmds, function(resp){
var resp = resp.toString("utf-8").trim();
Expand Down Expand Up @@ -618,7 +618,7 @@ exports["Sending mail listen for dataReady"] = {
"MAIL FROM:<d3ph@github.com>",
"RCPT TO:<andris@pangalink.net>",
"DATA",
"Test mail with spam!\015\012.\015\012",
"Test mail with spam!\r\n.\r\n",
];
runClientMockup(PORT_NUMBER, "localhost", cmds, function(resp){
test.equal("550 FAILED",resp.toString("utf-8").trim());
Expand All @@ -630,7 +630,7 @@ exports["Sending mail listen for dataReady"] = {
"MAIL FROM:<d3ph@github.com>",
"RCPT TO:<andris@pangalink.net>",
"DATA",
"Clear mail body\015\012.\015\012",
"Clear mail body\r\n.\r\n",
];
runClientMockup(PORT_NUMBER, "localhost", cmds, function(resp){
var resp = resp.toString("utf-8").trim();
Expand Down

0 comments on commit cf22d39

Please sign in to comment.