Merge pull request #34757 from dnephin/fix-test-run-environment
Fix TestRunEnvironment
This commit is contained in:
commit
d76f0d4e06
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ func (s *DockerSuite) TestRunEnvironment(c *check.C) {
|
|||
})
|
||||
result.Assert(c, icmd.Success)
|
||||
|
||||
actualEnv := strings.Split(strings.TrimSpace(result.Combined()), "\n")
|
||||
actualEnv := strings.Split(strings.TrimSuffix(result.Stdout(), "\n"), "\n")
|
||||
sort.Strings(actualEnv)
|
||||
|
||||
goodEnv := []string{
|
||||
|
|
Loading…
Reference in a new issue