Skip to content

Commit

Permalink
Merge pull request moby#21685 from runcom/int-fix-tiny
Browse files Browse the repository at this point in the history
integration-cli: add info to fatal log
  • Loading branch information
calavera committed Mar 31, 2016
2 parents b27f17c + eb0f9f6 commit 61ca308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-cli/docker_cli_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ func (s *DockerSuite) TestRunEnvironment(c *check.C) {
}
sort.Strings(goodEnv)
if len(goodEnv) != len(actualEnv) {
c.Fatalf("Wrong environment: should be %d variables, not: %q\n", len(goodEnv), strings.Join(actualEnv, ", "))
c.Fatalf("Wrong environment: should be %d variables, not %d: %q", len(goodEnv), len(actualEnv), strings.Join(actualEnv, ", "))
}
for i := range goodEnv {
if actualEnv[i] != goodEnv[i] {
Expand Down Expand Up @@ -848,7 +848,7 @@ func (s *DockerSuite) TestRunEnvironmentErase(c *check.C) {
}
sort.Strings(goodEnv)
if len(goodEnv) != len(actualEnv) {
c.Fatalf("Wrong environment: should be %d variables, not: %q\n", len(goodEnv), strings.Join(actualEnv, ", "))
c.Fatalf("Wrong environment: should be %d variables, not %d: %q", len(goodEnv), len(actualEnv), strings.Join(actualEnv, ", "))
}
for i := range goodEnv {
if actualEnv[i] != goodEnv[i] {
Expand Down Expand Up @@ -883,7 +883,7 @@ func (s *DockerSuite) TestRunEnvironmentOverride(c *check.C) {
}
sort.Strings(goodEnv)
if len(goodEnv) != len(actualEnv) {
c.Fatalf("Wrong environment: should be %d variables, not: %q\n", len(goodEnv), strings.Join(actualEnv, ", "))
c.Fatalf("Wrong environment: should be %d variables, not %d: %q", len(goodEnv), len(actualEnv), strings.Join(actualEnv, ", "))
}
for i := range goodEnv {
if actualEnv[i] != goodEnv[i] {
Expand Down

0 comments on commit 61ca308

Please sign in to comment.