1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-02 01:17:04 +00:00

chore: fix many cosmetic linter warnings (#486)

* fix whitespace warnings

Signed-off-by: James Hillyerd <james@hillyerd.com>

* fix a number of typos

Signed-off-by: James Hillyerd <james@hillyerd.com>

* fix many cosmetic linter warnings

Signed-off-by: James Hillyerd <james@hillyerd.com>

---------

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2024-02-15 18:02:26 -08:00
committed by GitHub
parent 864a2ba2d2
commit baa2dbd3a1
19 changed files with 25 additions and 37 deletions

View File

@@ -206,7 +206,7 @@ func (s *Server) startSession(id int, conn net.Conn, logger zerolog.Logger) {
ssn.send("252 Cannot VRFY user, but will accept message")
continue
case "NOOP":
ssn.send("250 I have sucessfully done nothing")
ssn.send("250 I have successfully done nothing")
continue
case "RSET":
// Reset session

View File

@@ -222,7 +222,6 @@ func TestReadyStateRejectedDomains(t *testing.T) {
}
})
}
}
// Test invalid commands in READY state.
@@ -255,7 +254,6 @@ func TestReadyStateInvalidCommands(t *testing.T) {
}
})
}
}
// Test commands in MAIL state
@@ -562,7 +560,6 @@ func TestBeforeMailAcceptedEventResponse(t *testing.T) {
assert.NotNil(t, gotEvent, "BeforeMailListener did not receive Address")
})
}
}
// net.Pipe does not implement deadlines