Skip to content

Commit 522cfc6

Browse files
KimMachineGunkaralabe
authored andcommitted
swarm: fix typos (#17473)
1 parent a063fe9 commit 522cfc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swarm/network/simulation/simulation_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func TestRun(t *testing.T) {
6363
}
6464
})
6565

66-
t.Run("cancelation", func(t *testing.T) {
66+
t.Run("cancellation", func(t *testing.T) {
6767
ctx, cancel := context.WithTimeout(context.Background(), 50*time.Millisecond)
6868
defer cancel()
6969

@@ -164,15 +164,15 @@ func TestDone(t *testing.T) {
164164

165165
select {
166166
case <-time.After(timeout):
167-
t.Error("done channel closing timmed out")
167+
t.Error("done channel closing timed out")
168168
case <-sim.Done():
169169
if d := time.Since(start); d < sleep {
170170
t.Errorf("done channel closed sooner then expected: %s", d)
171171
}
172172
}
173173
}
174174

175-
// a helper map for usual services that do not do anyting
175+
// a helper map for usual services that do not do anything
176176
var noopServiceFuncMap = map[string]ServiceFunc{
177177
"noop": noopServiceFunc,
178178
}

0 commit comments

Comments
 (0)