(t *testing.T)
| 25 | func (notFound) NotFound() {} |
| 26 | |
| 27 | func TestNewRemoveCommandAlias(t *testing.T) { |
| 28 | cmd := newImageRemoveCommand(test.NewFakeCli(&fakeClient{})) |
| 29 | cmd.SetArgs([]string{""}) |
| 30 | assert.Check(t, cmd.HasAlias("rmi")) |
| 31 | assert.Check(t, cmd.HasAlias("remove")) |
| 32 | assert.Check(t, !cmd.HasAlias("other")) |
| 33 | } |
| 34 | |
| 35 | func TestNewRemoveCommandErrors(t *testing.T) { |
| 36 | testCases := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…