summaryrefslogtreecommitdiff
path: root/integration-cli/docker_cli_inspect_test.go
diff options
context:
space:
mode:
authorSebastiaan van Stijn <thaJeztah@users.noreply.github.com>2017-01-19 17:21:22 +0100
committerGitHub <noreply@github.com>2017-01-19 17:21:22 +0100
commitde0328560b818e86fd3eadc973f90341e5c33498 (patch)
treeeb18582e27b65a02494e44dede9c7883d49c69a4 /integration-cli/docker_cli_inspect_test.go
parenta3dff7c3dbb949662be0037de0e51c00cfa68364 (diff)
parent40af5691648c5b9d07b1231e3ed3be29fd66521a (diff)
downloaddocker-de0328560b818e86fd3eadc973f90341e5c33498.tar.gz
Merge pull request #30165 from xulike666/fix-typo-6/36
[combined] fix typo
Diffstat (limited to 'integration-cli/docker_cli_inspect_test.go')
-rw-r--r--integration-cli/docker_cli_inspect_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-cli/docker_cli_inspect_test.go b/integration-cli/docker_cli_inspect_test.go
index abedab3d64..a4d2dfa7e2 100644
--- a/integration-cli/docker_cli_inspect_test.go
+++ b/integration-cli/docker_cli_inspect_test.go
@@ -305,7 +305,7 @@ func (s *DockerSuite) TestInspectNoSizeFlagContainer(c *check.C) {
formatStr := "--format={{.SizeRw}},{{.SizeRootFs}}"
out, _ := dockerCmd(c, "inspect", "--type=container", formatStr, "busybox")
- c.Assert(strings.TrimSpace(out), check.Equals, "<nil>,<nil>", check.Commentf("Exepcted not to display size info: %s", out))
+ c.Assert(strings.TrimSpace(out), check.Equals, "<nil>,<nil>", check.Commentf("Expected not to display size info: %s", out))
}
func (s *DockerSuite) TestInspectSizeFlagContainer(c *check.C) {
@@ -454,7 +454,7 @@ func (s *DockerSuite) TestInspectUnknownObject(c *check.C) {
c.Assert(err.Error(), checker.Contains, "Error: No such object: foobar")
}
-func (s *DockerSuite) TestInpectInvalidReference(c *check.C) {
+func (s *DockerSuite) TestInspectInvalidReference(c *check.C) {
// This test should work on both Windows and Linux
out, _, err := dockerCmdWithError("inspect", "FooBar")
c.Assert(err, checker.NotNil)