Remove unnecessary check for number of commands

Testing for the number of commands in `help` output doesn't seem to
contribute much to the quality of the project, and adds additional
burden for the developer to update.

Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>
This commit is contained in:
Arnaud Porterie (icecrime) 2016-06-05 11:44:50 -07:00
parent c764234c3b
commit dd7e59a40a
No known key found for this signature in database
GPG Key ID: 3D78FAF1AF91D9E9
1 changed files with 0 additions and 10 deletions

View File

@ -137,17 +137,7 @@ func (s *DockerSuite) TestHelpTextVerify(c *check.C) {
c.Fatal(err)
}
}
// Number of commands for standard release and experimental release
standard := 41
experimental := 1
expected := standard + experimental
if isLocalDaemon {
expected++ // for the daemon command
}
c.Assert(len(cmds), checker.LessOrEqualThan, expected, check.Commentf("Wrong # of cmds, it should be: %d\nThe list:\n%q", expected, cmds))
}
}
func (s *DockerSuite) TestHelpExitCodesHelpOutput(c *check.C) {