File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func TestRun(t *testing.T) {
63
63
}
64
64
})
65
65
66
- t .Run ("cancelation " , func (t * testing.T ) {
66
+ t .Run ("cancellation " , func (t * testing.T ) {
67
67
ctx , cancel := context .WithTimeout (context .Background (), 50 * time .Millisecond )
68
68
defer cancel ()
69
69
@@ -164,15 +164,15 @@ func TestDone(t *testing.T) {
164
164
165
165
select {
166
166
case <- time .After (timeout ):
167
- t .Error ("done channel closing timmed out" )
167
+ t .Error ("done channel closing timed out" )
168
168
case <- sim .Done ():
169
169
if d := time .Since (start ); d < sleep {
170
170
t .Errorf ("done channel closed sooner then expected: %s" , d )
171
171
}
172
172
}
173
173
}
174
174
175
- // a helper map for usual services that do not do anyting
175
+ // a helper map for usual services that do not do anything
176
176
var noopServiceFuncMap = map [string ]ServiceFunc {
177
177
"noop" : noopServiceFunc ,
178
178
}
You can’t perform that action at this time.
0 commit comments