Fix formatting

This commit is contained in:
Caleb Woodbine 2020-05-27 08:34:03 +12:00
parent b9c934102b
commit 9a77a00c7c

View File

@ -1315,10 +1315,10 @@ retriesLoop:
// watchEventsLoop: // watchEventsLoop:
totalValidWatchEvents := 0 totalValidWatchEvents := 0
actualWatchEventsHasDelete := false actualWatchEventsHasDelete := false
for watchEventIndex, _ := range expectedWatchEvents { for watchEventIndex := range expectedWatchEvents {
foundExpectedWatchEvent := false foundExpectedWatchEvent := false
ExpectEqual(len(expectedWatchEvents) <= len(actualWatchEvents), true, "Error: actual watch events amount must be greater than or equal to expected watch events amount") ExpectEqual(len(expectedWatchEvents) <= len(actualWatchEvents), true, "Error: actual watch events amount must be greater than or equal to expected watch events amount")
for actualWatchEventIndex, _ := range actualWatchEvents { for actualWatchEventIndex := range actualWatchEvents {
if actualWatchEvents[watchEventIndex].Type == expectedWatchEvents[actualWatchEventIndex].Type { if actualWatchEvents[watchEventIndex].Type == expectedWatchEvents[actualWatchEventIndex].Type {
foundExpectedWatchEvent = true foundExpectedWatchEvent = true
} }