mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #23280 from icecrime/remove_num_commands_test
Remove unnecessary check for number of commands
This commit is contained in:
commit
951702a567
1 changed files with 0 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue