(t *testing.T)
| 56 | } |
| 57 | |
| 58 | func TestRemoveDefault(t *testing.T) { |
| 59 | cli := makeFakeCli(t) |
| 60 | createTestContext(t, cli, "other", nil) |
| 61 | cli.SetCurrentContext("current") |
| 62 | err := runRemove(cli, removeOptions{}, []string{"default"}) |
| 63 | assert.ErrorContains(t, err, `context "default" cannot be removed`) |
| 64 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…