(t *testing.T)
| 98 | } |
| 99 | |
| 100 | func TestNewListCommandAlias(t *testing.T) { |
| 101 | cmd := newListCommand(test.NewFakeCli(&fakeClient{})) |
| 102 | cmd.SetArgs([]string{""}) |
| 103 | assert.Check(t, cmd.HasAlias("list")) |
| 104 | assert.Check(t, !cmd.HasAlias("other")) |
| 105 | } |
| 106 | |
| 107 | func TestNewListCommandAmbiguous(t *testing.T) { |
| 108 | cli := test.NewFakeCli(&fakeClient{}) |
nothing calls this directly
no test coverage detected
searching dependent graphs…