Merge pull request #16507 from azurezk/testcase_nit

TestInspectInt64 to be neat
This commit is contained in:
Jess Frazelle 2015-09-24 11:12:43 -07:00
Родитель f2db5028cd 029c6eacd6
Коммит ccba7c3e14
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -27,8 +27,7 @@ func (s *DockerSuite) TestInspectImage(c *check.C) {
func (s *DockerSuite) TestInspectInt64(c *check.C) {
testRequires(c, DaemonIsLinux)
runCmd := exec.Command(dockerBinary, "run", "-d", "-m=300M", "busybox", "true")
out, _, _, err := runCommandWithStdoutStderr(runCmd)
out, _, err := dockerCmdWithError("run", "-d", "-m=300M", "busybox", "true")
if err != nil {
c.Fatalf("failed to run container: %v, output: %q", err, out)
}