mirror of
https://github.com/moby/moby.git
synced 2025-07-30 18:23:29 +03:00
misspell: fix some spelling issues
``` internal/test/environment/environment.go:37:23: `useing` is a misspelling of `using`(misspell) integration/container/wait_test.go:49:9: `waitres` is a misspelling of `waiters`(misspell) integration/container/wait_test.go:95:9: `waitres` is a misspelling of `waiters`(misspell) integration-cli/docker_api_containers_test.go:1042:7: `waitres` is a misspelling of `waiters`(misspell) ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -994,13 +994,13 @@ func (s *DockerSuite) TestContainerAPIWait(c *testing.T) {
|
||||
assert.NilError(c, err)
|
||||
defer cli.Close()
|
||||
|
||||
waitresC, errC := cli.ContainerWait(context.Background(), name, "")
|
||||
waitResC, errC := cli.ContainerWait(context.Background(), name, "")
|
||||
|
||||
select {
|
||||
case err = <-errC:
|
||||
assert.NilError(c, err)
|
||||
case waitres := <-waitresC:
|
||||
assert.Equal(c, waitres.StatusCode, int64(0))
|
||||
case waitRes := <-waitResC:
|
||||
assert.Equal(c, waitRes.StatusCode, int64(0))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user