Skip to content

Commit

Permalink
smtp_test: Fixing assertion order for number of received messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Hinderberger committed Jul 3, 2024
1 parent dc348d3 commit 3c25b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/smtp/smtp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var server *Server = runTestSession()
func TestMessageParsing(t *testing.T) {
expectedMessages := buildExpectedMessages()

require.Equal(t, len(server.receivedMessages), len(expectedMessages), "number of received messages")
require.Equal(t, len(expectedMessages), len(server.receivedMessages), "number of received messages")

for i := range expectedMessages {
assertMessageEqual(t, expectedMessages[i], server.receivedMessages[i])
Expand Down

0 comments on commit 3c25b61

Please sign in to comment.