The `--stars` flag was deprecated, and was replaced by `--filter stars=xx`
Integration tests run with a fixed version of the CLI, and the new
(`--filter`) option is already tested in this test, so there's no need
to verify the old flags.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -32,16 +32,6 @@ func (s *DockerSuite) TestSearchStarsOptionWithWrongParameter(c *check.C) {
|
| 32 | 32 |
out, _, err = dockerCmdWithError("search", "-f", "is-official=a", "busybox")
|
| 33 | 33 |
assert.ErrorContains(c, err, "", out) |
| 34 | 34 |
assert.Assert(c, strings.Contains(out, "Invalid filter"), "couldn't find the invalid filter warning") |
| 35 |
- |
|
| 36 |
- // -s --stars deprecated since Docker 1.13 |
|
| 37 |
- out, _, err = dockerCmdWithError("search", "--stars=a", "busybox")
|
|
| 38 |
- assert.ErrorContains(c, err, "", out) |
|
| 39 |
- assert.Assert(c, strings.Contains(out, "invalid syntax"), "couldn't find the invalid value warning") |
|
| 40 |
- |
|
| 41 |
- // -s --stars deprecated since Docker 1.13 |
|
| 42 |
- out, _, err = dockerCmdWithError("search", "-s=-1", "busybox")
|
|
| 43 |
- assert.ErrorContains(c, err, "", out) |
|
| 44 |
- assert.Assert(c, strings.Contains(out, "invalid syntax"), "couldn't find the invalid value warning") |
|
| 45 | 35 |
} |
| 46 | 36 |
|
| 47 | 37 |
func (s *DockerSuite) TestSearchCmdOptions(c *check.C) {
|