mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
chore: modernize range loops (#574)
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -37,7 +37,7 @@ func TestMaxSize(t *testing.T) {
|
||||
for _, mailbox := range boxes {
|
||||
go func(mailbox string) {
|
||||
size := int64(0)
|
||||
for i := 0; i < n; i++ {
|
||||
for range n {
|
||||
_, nbytes := test.DeliverToStore(t, s, mailbox, "subject", time.Now())
|
||||
size += nbytes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user