aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorGeon Kim <geon0250@gmail.com>2018-08-22 02:13:33 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-22 02:13:33 +0800
commit522cfc68ff496aee4205add982db049dc3092024 (patch)
tree30b8fe3d4aa18a0ff7b231ad509db765cbb99379 /swarm
parenta063fe9b2defdb595068483b4c5df41f1a3a4860 (diff)
downloadgo-tangerine-522cfc68ff496aee4205add982db049dc3092024.tar
go-tangerine-522cfc68ff496aee4205add982db049dc3092024.tar.gz
go-tangerine-522cfc68ff496aee4205add982db049dc3092024.tar.bz2
go-tangerine-522cfc68ff496aee4205add982db049dc3092024.tar.lz
go-tangerine-522cfc68ff496aee4205add982db049dc3092024.tar.xz
go-tangerine-522cfc68ff496aee4205add982db049dc3092024.tar.zst
go-tangerine-522cfc68ff496aee4205add982db049dc3092024.zip
swarm: fix typos (#17473)
Diffstat (limited to 'swarm')
-rw-r--r--swarm/network/simulation/simulation_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/swarm/network/simulation/simulation_test.go b/swarm/network/simulation/simulation_test.go
index 8576732c9..eed09bf50 100644
--- a/swarm/network/simulation/simulation_test.go
+++ b/swarm/network/simulation/simulation_test.go
@@ -63,7 +63,7 @@ func TestRun(t *testing.T) {
}
})
- t.Run("cancelation", func(t *testing.T) {
+ t.Run("cancellation", func(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 50*time.Millisecond)
defer cancel()
@@ -164,7 +164,7 @@ func TestDone(t *testing.T) {
select {
case <-time.After(timeout):
- t.Error("done channel closing timmed out")
+ t.Error("done channel closing timed out")
case <-sim.Done():
if d := time.Since(start); d < sleep {
t.Errorf("done channel closed sooner then expected: %s", d)
@@ -172,7 +172,7 @@ func TestDone(t *testing.T) {
}
}
-// a helper map for usual services that do not do anyting
+// a helper map for usual services that do not do anything
var noopServiceFuncMap = map[string]ServiceFunc{
"noop": noopServiceFunc,
}