(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestRemove(t *testing.T) { |
| 46 | cli := test.NewFakeCli(&fakeClient{}) |
| 47 | cmd := newRemoveCommand(cli) |
| 48 | cmd.SetArgs([]string{"plugin-foo"}) |
| 49 | assert.NilError(t, cmd.Execute()) |
| 50 | assert.Check(t, is.Equal("plugin-foo\n", cli.OutBuffer().String())) |
| 51 | } |
| 52 | |
| 53 | func TestRemoveWithForceOption(t *testing.T) { |
| 54 | force := false |
nothing calls this directly
no test coverage detected
searching dependent graphs…