mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-15 02:12:55 +01:00
Remove redundant comments from sleep statements
Removed unnecessary comments that were clarifying the purpose of sleep statements in the test cases. This makes the code cleaner and easier to maintain by reducing clutter.
This commit is contained in:
parent
157c138142
commit
d5437f6b7a
1 changed files with 4 additions and 4 deletions
|
@ -1270,7 +1270,7 @@ func TestClient_SendErrorNoEncoding(t *testing.T) {
|
|||
return
|
||||
}
|
||||
}()
|
||||
time.Sleep(time.Millisecond * 300) // wait until tcp server has been settled
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
|
||||
message := NewMsg()
|
||||
if err := message.From("valid-from@domain.tld"); err != nil {
|
||||
|
@ -1336,7 +1336,7 @@ func TestClient_SendErrorMailFrom(t *testing.T) {
|
|||
return
|
||||
}
|
||||
}()
|
||||
time.Sleep(time.Millisecond * 300) // wait until tcp server has been settled
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
|
||||
message := NewMsg()
|
||||
if err := message.From("invalid-from@domain.tld"); err != nil {
|
||||
|
@ -1401,7 +1401,7 @@ func TestClient_SendErrorMailFromReset(t *testing.T) {
|
|||
return
|
||||
}
|
||||
}()
|
||||
time.Sleep(time.Millisecond * 300) // wait until tcp server has been settled
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
|
||||
message := NewMsg()
|
||||
if err := message.From("invalid-from@domain.tld"); err != nil {
|
||||
|
@ -1475,7 +1475,7 @@ func TestClient_SendErrorToReset(t *testing.T) {
|
|||
return
|
||||
}
|
||||
}()
|
||||
time.Sleep(time.Millisecond * 300) // wait until tcp server has been settled
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
|
||||
message := NewMsg()
|
||||
if err := message.From("valid-from@domain.tld"); err != nil {
|
||||
|
|
Loading…
Reference in a new issue