trivial: typo cleanup
Signed-off-by: David Mackey <tdmackey@booleanhaiku.com> Upstream-commit: 3941623fbc3fa724d61f53121513ffd87d03b61c Component: engine
This commit is contained in:
@@ -434,7 +434,7 @@ func TestGetEnabledCors(t *testing.T) {
|
||||
t.Errorf("Expected header Access-Control-Allow-Headers to be \"Origin, X-Requested-With, Content-Type, Accept, X-Registry-Auth\", %s found.", allowHeaders)
|
||||
}
|
||||
if allowMethods != "GET, POST, DELETE, PUT, OPTIONS" {
|
||||
t.Errorf("Expected hearder Access-Control-Allow-Methods to be \"GET, POST, DELETE, PUT, OPTIONS\", %s found.", allowMethods)
|
||||
t.Errorf("Expected header Access-Control-Allow-Methods to be \"GET, POST, DELETE, PUT, OPTIONS\", %s found.", allowMethods)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -648,7 +648,7 @@ func TestConstainersStartChunkedEncodingHostConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
if c.HostConfig.Binds[0] != "/tmp:/foo" {
|
||||
t.Fatal("Chunked encoding not properly handled, execpted binds to be /tmp:/foo, got:", c.HostConfig.Binds[0])
|
||||
t.Fatal("Chunked encoding not properly handled, expected binds to be /tmp:/foo, got:", c.HostConfig.Binds[0])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ func BenchmarkRunParallel(b *testing.B) {
|
||||
return
|
||||
}
|
||||
// if string(output) != "foo" {
|
||||
// complete <- fmt.Errorf("Unexecpted output: %v", string(output))
|
||||
// complete <- fmt.Errorf("Unexpected output: %v", string(output))
|
||||
// }
|
||||
if err := daemon.Rm(container); err != nil {
|
||||
complete <- err
|
||||
|
||||
@@ -837,7 +837,7 @@ func TestDestroyWithInitLayer(t *testing.T) {
|
||||
|
||||
// Make sure that the container does not exist in the driver
|
||||
if _, err := driver.Get(container.ID, ""); err == nil {
|
||||
t.Fatal("Conttainer should not exist in the driver")
|
||||
t.Fatal("Container should not exist in the driver")
|
||||
}
|
||||
|
||||
// Make sure that the init layer is removed from the driver
|
||||
|
||||
@@ -41,7 +41,7 @@ func waitContainerStart(t *testing.T, timeout time.Duration) *daemon.Container {
|
||||
})
|
||||
|
||||
if container == nil {
|
||||
t.Fatal("An error occured while waiting for the container to start")
|
||||
t.Fatal("An error occurred while waiting for the container to start")
|
||||
}
|
||||
|
||||
return container
|
||||
|
||||
Reference in New Issue
Block a user